home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…stman Always Clicks Twice / ADC Developer CD (1993-01) (''The Postman Always Clicks Twice'')_iso / Dev.CD 199301.iso / Technical Documentation / Mac Tech Notes (DocViewer) / TN-QuickTime < prev    next >
MacBinary  |  1992-11-18  |  80.6 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Wed Nov 18 07:21:37 1992, modified Wed Nov 18 11:00:18 1992, creator 'HLX2', type 'ONLN', 78823 bytes "TN-QuickTime" , at 0x13467 3547 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 54 4e 2d 51 75 69 | 63 6b 54 69 6d 65 00 00 |..TN-Qui|ckTime..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 01 33 e7 00 | 00 0d db a7 2f e5 d1 a7 |.....3..|..../...|
|00000060| 30 19 12 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |0.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f0 d0 00 00 |........|........|
|00000080| 49 6d 61 67 65 20 43 6f | 6d 70 72 65 73 73 69 6f |Image Co|mpressio|
|00000090| 6e 20 4d 61 6e 61 67 65 | 72 20 51 26 41 73 0d 51 |n Manage|r Q&As.Q|
|000000a0| 75 69 63 6b 54 69 6d 65 | 09 4d 2e 51 54 2e 49 6d |uickTime|.M.QT.Im|
|000000b0| 61 67 65 43 6f 6d 70 72 | 2e 51 26 41 73 0d 52 65 |ageCompr|.Q&As.Re|
|000000c0| 76 69 73 65 64 20 62 79 | 3a 09 44 65 76 65 6c 6f |vised by|:.Develo|
|000000d0| 70 65 72 20 53 75 70 70 | 6f 72 74 20 43 65 6e 74 |per Supp|ort Cent|
|000000e0| 65 72 09 4f 63 74 6f 62 | 65 72 20 31 39 39 32 0d |er.Octob|er 1992.|
|000000f0| 57 72 69 74 74 65 6e 20 | 62 79 3a 09 44 65 76 65 |Written |by:.Deve|
|00000100| 6c 6f 70 65 72 20 53 75 | 70 70 6f 72 74 20 43 65 |loper Su|pport Ce|
|00000110| 6e 74 65 72 09 4f 63 74 | 6f 62 65 72 20 31 39 39 |nter.Oct|ober 199|
|00000120| 30 0d 54 68 69 73 20 54 | 65 63 68 6e 69 63 61 6c |0.This T|echnical|
|00000130| 20 4e 6f 74 65 20 63 6f | 6e 74 61 69 6e 73 20 61 | Note co|ntains a|
|00000140| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 6f 66 20 51 | collect|ion of Q|
|00000150| 26 41 73 20 72 65 6c 61 | 74 69 6e 67 20 74 6f 20 |&As rela|ting to |
|00000160| 61 20 73 70 65 63 69 66 | 69 63 20 74 6f 70 69 63 |a specif|ic topic|
|00000170| d1 71 75 65 73 74 69 6f | 6e 73 20 79 6f 75 d5 76 |.questio|ns you.v|
|00000180| 65 20 73 65 6e 74 20 74 | 68 65 20 44 65 76 65 6c |e sent t|he Devel|
|00000190| 6f 70 65 72 20 53 75 70 | 70 6f 72 74 20 43 65 6e |oper Sup|port Cen|
|000001a0| 74 65 72 20 28 44 53 43 | 29 20 61 6c 6f 6e 67 20 |ter (DSC|) along |
|000001b0| 77 69 74 68 20 61 6e 73 | 77 65 72 73 20 66 72 6f |with ans|wers fro|
|000001c0| 6d 20 74 68 65 20 44 53 | 43 20 65 6e 67 69 6e 65 |m the DS|C engine|
|000001d0| 65 72 73 2e 20 57 68 69 | 6c 65 20 44 53 43 20 65 |ers. Whi|le DSC e|
|000001e0| 6e 67 69 6e 65 65 72 73 | 20 68 61 76 65 20 63 68 |ngineers| have ch|
|000001f0| 65 63 6b 65 64 20 74 68 | 65 20 51 26 41 20 63 6f |ecked th|e Q&A co|
|00000200| 6e 74 65 6e 74 20 66 6f | 72 20 61 63 63 75 72 61 |ntent fo|r accura|
|00000210| 63 79 2c 20 74 68 65 20 | 51 26 41 20 54 65 63 68 |cy, the |Q&A Tech|
|00000220| 6e 69 63 61 6c 20 4e 6f | 74 65 73 20 64 6f 6e d5 |nical No|tes don.|
|00000230| 74 20 68 61 76 65 20 74 | 68 65 20 65 64 69 74 69 |t have t|he editi|
|00000240| 6e 67 20 61 6e 64 20 6f | 72 67 61 6e 69 7a 61 74 |ng and o|rganizat|
|00000250| 69 6f 6e 20 6f 66 20 6f | 74 68 65 72 20 54 65 63 |ion of o|ther Tec|
|00000260| 68 6e 69 63 61 6c 20 4e | 6f 74 65 73 2e 20 54 68 |hnical N|otes. Th|
|00000270| 65 20 51 26 41 20 66 75 | 6e 63 74 69 6f 6e 20 69 |e Q&A fu|nction i|
|00000280| 73 20 74 6f 20 67 65 74 | 20 6e 65 77 20 74 65 63 |s to get| new tec|
|00000290| 68 6e 69 63 61 6c 20 69 | 6e 66 6f 72 6d 61 74 69 |hnical i|nformati|
|000002a0| 6f 6e 20 61 6e 64 20 75 | 70 64 61 74 65 73 20 74 |on and u|pdates t|
|000002b0| 6f 20 79 6f 75 20 71 75 | 69 63 6b 6c 79 2c 20 73 |o you qu|ickly, s|
|000002c0| 61 76 69 6e 67 20 74 68 | 65 20 70 6f 6c 69 73 68 |aving th|e polish|
|000002d0| 20 66 6f 72 20 77 68 65 | 6e 20 74 68 65 20 69 6e | for whe|n the in|
|000002e0| 66 6f 72 6d 61 74 69 6f | 6e 20 6d 69 67 72 61 74 |formatio|n migrat|
|000002f0| 65 73 20 69 6e 74 6f 20 | 72 65 66 65 72 65 6e 63 |es into |referenc|
|00000300| 65 20 6d 61 6e 75 61 6c | 73 2e 0d 51 26 41 73 20 |e manual|s..Q&As |
|00000310| 61 72 65 20 6e 6f 77 20 | 69 6e 63 6c 75 64 65 64 |are now |included|
|00000320| 20 77 69 74 68 20 54 65 | 63 68 6e 69 63 61 6c 20 | with Te|chnical |
|00000330| 4e 6f 74 65 73 20 74 6f | 20 6d 61 6b 65 20 61 63 |Notes to| make ac|
|00000340| 63 65 73 73 20 74 6f 20 | 74 65 63 68 6e 69 63 61 |cess to |technica|
|00000350| 6c 20 75 70 64 61 74 65 | 73 20 65 61 73 69 65 72 |l update|s easier|
|00000360| 20 66 6f 72 20 79 6f 75 | 2e 20 49 66 20 79 6f 75 | for you|. If you|
|00000370| 20 68 61 76 65 20 63 6f | 6d 6d 65 6e 74 73 20 6f | have co|mments o|
|00000380| 72 20 73 75 67 67 65 73 | 74 69 6f 6e 73 20 61 62 |r sugges|tions ab|
|00000390| 6f 75 74 20 51 26 41 20 | 63 6f 6e 74 65 6e 74 20 |out Q&A |content |
|000003a0| 6f 72 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 2c |or distr|ibution,|
|000003b0| 20 70 6c 65 61 73 65 20 | 6c 65 74 20 75 73 20 6b | please |let us k|
|000003c0| 6e 6f 77 20 62 79 20 73 | 65 6e 64 69 6e 67 20 61 |now by s|ending a|
|000003d0| 6e 20 41 70 70 6c 65 4c | 69 6e 6b 20 74 6f 20 44 |n AppleL|ink to D|
|000003e0| 45 56 46 45 45 44 42 41 | 43 4b 2e 20 41 70 70 6c |EVFEEDBA|CK. Appl|
|000003f0| 65 20 50 61 72 74 6e 65 | 72 73 20 6d 61 79 20 73 |e Partne|rs may s|
|00000400| 65 6e 64 20 74 65 63 68 | 6e 69 63 61 6c 20 71 75 |end tech|nical qu|
|00000410| 65 73 74 69 6f 6e 73 20 | 61 62 6f 75 74 20 51 26 |estions |about Q&|
|00000420| 41 20 63 6f 6e 74 65 6e | 74 20 74 6f 20 44 45 56 |A conten|t to DEV|
|00000430| 53 55 50 50 4f 52 54 20 | 66 6f 72 20 72 65 73 6f |SUPPORT |for reso|
|00000440| 6c 75 74 69 6f 6e 2e 0d | 4e 65 77 20 51 26 41 73 |lution..|New Q&As|
|00000450| 20 61 6e 64 20 51 26 41 | 73 20 72 65 76 69 73 65 | and Q&A|s revise|
|00000460| 64 20 74 68 69 73 20 6d | 6f 6e 74 68 20 61 72 65 |d this m|onth are|
|00000470| 20 6d 61 72 6b 65 64 20 | 77 69 74 68 20 61 20 62 | marked |with a b|
|00000480| 61 72 20 69 6e 20 74 68 | 65 20 73 69 64 65 20 6d |ar in th|e side m|
|00000490| 61 72 67 69 6e 2e 0d 51 | 75 69 63 6b 54 69 6d 65 |argin..Q|uickTime|
|000004a0| 20 66 69 6c 6c 73 20 69 | 6e 20 69 6d 61 67 65 20 | fills i|n image |
|000004b0| 64 65 73 63 72 69 70 74 | 6f 72 20 77 68 65 6e 20 |descript|or when |
|000004c0| 64 61 74 61 20 69 73 20 | 63 6f 6d 70 72 65 73 73 |data is |compress|
|000004d0| 65 64 0d 57 72 69 74 74 | 65 6e 3a 09 0d 4c 61 73 |ed.Writt|en:..Las|
|000004e0| 74 20 72 65 76 69 65 77 | 65 64 3a 09 0d 57 68 65 |t review|ed:..Whe|
|000004f0| 6e 20 49 20 73 65 6e 64 | 20 63 6f 6d 70 72 65 73 |n I send| compres|
|00000500| 73 65 64 20 69 6d 61 67 | 65 73 20 6f 76 65 72 20 |sed imag|es over |
|00000510| 45 74 68 65 72 6e 65 74 | 2c 20 43 6f 6d 70 72 65 |Ethernet|, Compre|
|00000520| 73 73 53 65 71 75 65 6e | 63 65 42 65 67 69 6e 20 |ssSequen|ceBegin |
|00000530| 64 6f 65 73 6e d5 74 20 | 66 69 6c 6c 20 69 6e 20 |doesn.t |fill in |
|00000540| 74 68 65 20 49 6d 61 67 | 65 44 65 73 63 72 69 70 |the Imag|eDescrip|
|00000550| 74 69 6f 6e 2c 20 77 68 | 69 63 68 20 69 73 20 6e |tion, wh|ich is n|
|00000560| 65 65 64 65 64 20 61 74 | 20 74 68 65 20 6f 74 68 |eeded at| the oth|
|00000570| 65 72 20 65 6e 64 20 6f | 66 20 74 68 65 20 63 6f |er end o|f the co|
|00000580| 6e 66 65 72 65 6e 63 65 | 20 6c 69 6e 6b 20 74 6f |nference| link to|
|00000590| 20 44 65 63 6f 6d 70 72 | 65 73 73 53 65 71 75 65 | Decompr|essSeque|
|000005a0| 6e 63 65 42 65 67 69 6e | 2e 20 49 73 20 74 68 69 |nceBegin|. Is thi|
|000005b0| 73 20 61 20 62 75 67 3f | 0d 5f 5f 5f 0d 43 6f 6d |s a bug?|.___.Com|
|000005c0| 70 72 65 73 73 53 65 71 | 75 65 6e 63 65 42 65 67 |pressSeq|uenceBeg|
|000005d0| 69 6e 20 64 6f 65 73 6e | d5 74 20 61 63 74 75 61 |in doesn|.t actua|
|000005e0| 6c 6c 79 20 6d 6f 64 69 | 66 79 20 74 68 65 20 68 |lly modi|fy the h|
|000005f0| 61 6e 64 6c 65 20 74 68 | 61 74 20 79 6f 75 20 70 |andle th|at you p|
|00000600| 61 73 73 2e 20 49 6e 73 | 74 65 61 64 2c 20 51 75 |ass. Ins|tead, Qu|
|00000610| 69 63 6b 54 69 6d 65 20 | 6d 61 6b 65 73 20 61 20 |ickTime |makes a |
|00000620| 6e 6f 74 65 20 6f 66 20 | 74 68 65 20 68 61 6e 64 |note of |the hand|
|00000630| 6c 65 20 74 68 61 74 d5 | 73 20 70 61 73 73 65 64 |le that.|s passed|
|00000640| 20 61 6e 64 20 64 6f 65 | 73 6e d5 74 20 61 63 74 | and doe|sn.t act|
|00000650| 75 61 6c 6c 79 20 6d 6f | 64 69 66 79 20 74 68 65 |ually mo|dify the|
|00000660| 20 63 6f 6e 74 65 6e 74 | 73 20 75 6e 74 69 6c 20 | content|s until |
|00000670| 74 68 65 20 66 69 72 73 | 74 20 63 61 6c 6c 20 74 |the firs|t call t|
|00000680| 68 61 74 20 61 63 74 75 | 61 6c 6c 79 20 63 6f 6d |hat actu|ally com|
|00000690| 70 72 65 73 73 65 73 20 | 64 61 74 61 2c 20 73 75 |presses |data, su|
|000006a0| 63 68 20 61 73 20 43 6f | 6d 70 72 65 73 73 53 65 |ch as Co|mpressSe|
|000006b0| 71 75 65 6e 63 65 46 72 | 61 6d 65 2e 20 41 74 20 |quenceFr|ame. At |
|000006c0| 74 68 61 74 20 70 6f 69 | 6e 74 2c 20 74 68 65 20 |that poi|nt, the |
|000006d0| 68 61 6e 64 6c 65 20 77 | 69 6c 6c 20 62 65 20 63 |handle w|ill be c|
|000006e0| 68 61 6e 67 65 64 2e 0d | 49 66 20 79 6f 75 20 63 |hanged..|If you c|
|000006f0| 61 6e 20 70 6f 73 74 70 | 6f 6e 65 20 64 65 61 6c |an postp|one deal|
|00000700| 69 6e 67 20 77 69 74 68 | 20 74 68 65 20 69 6d 61 |ing with| the ima|
|00000710| 67 65 20 64 65 73 63 72 | 69 70 74 6f 72 20 75 6e |ge descr|iptor un|
|00000720| 74 69 6c 20 61 66 74 65 | 72 20 74 68 65 20 66 69 |til afte|r the fi|
|00000730| 72 73 74 20 63 61 6c 6c | 20 74 68 61 74 20 63 6f |rst call| that co|
|00000740| 6d 70 72 65 73 73 65 73 | 20 64 61 74 61 2c 20 77 |mpresses| data, w|
|00000750| 68 61 74 65 76 65 72 20 | 79 6f 75 20 61 72 65 20 |hatever |you are |
|00000760| 77 72 69 74 69 6e 67 20 | 73 68 6f 75 6c 64 20 77 |writing |should w|
|00000770| 6f 72 6b 20 6a 75 73 74 | 20 66 69 6e 65 2e 0d 44 |ork just| fine..D|
|00000780| 65 63 6f 6d 70 72 65 73 | 73 69 6e 67 20 74 6f 20 |ecompres|sing to |
|00000790| 70 61 72 74 69 61 6c 20 | 77 69 6e 64 6f 77 3a 20 |partial |window: |
|000007a0| 42 75 67 20 26 20 77 6f | 72 6b 61 72 6f 75 6e 64 |Bug & wo|rkaround|
|000007b0| 20 0d 57 72 69 74 74 65 | 6e 3a 09 36 2f 31 38 2f | .Writte|n:.6/18/|
|000007c0| 39 32 0d 4c 61 73 74 20 | 72 65 76 69 65 77 65 64 |92.Last |reviewed|
|000007d0| 3a 09 39 2f 31 35 2f 39 | 32 0d 55 6e 64 65 72 20 |:.9/15/9|2.Under |
|000007e0| 53 79 73 74 65 6d 20 37 | 2c 20 64 65 63 6f 6d 70 |System 7|, decomp|
|000007f0| 72 65 73 73 69 6e 67 20 | 64 69 72 65 63 74 6c 79 |ressing |directly|
|00000800| 20 74 6f 20 61 20 77 69 | 6e 64 6f 77 20 74 68 61 | to a wi|ndow tha|
|00000810| 74 20 69 73 20 70 61 72 | 74 69 61 6c 6c 79 20 d2 |t is par|tially .|
|00000820| 6f 66 66 20 74 68 65 20 | 73 63 72 65 65 6e d3 20 |off the |screen. |
|00000830| 28 74 68 61 74 20 69 73 | 2c 20 6e 6f 74 20 63 6f |(that is|, not co|
|00000840| 6d 70 6c 65 74 65 6c 79 | 20 76 69 73 69 62 6c 65 |mpletely| visible|
|00000850| 29 20 72 65 73 75 6c 74 | 73 20 69 6e 20 61 20 2d |) result|s in a -|
|00000860| 35 30 20 28 69 6e 76 61 | 6c 69 64 20 70 61 72 61 |50 (inva|lid para|
|00000870| 6d 29 20 51 75 69 63 6b | 54 69 6d 65 20 65 72 72 |m) Quick|Time err|
|00000880| 6f 72 2e 20 57 65 20 63 | 61 6e 20 73 70 65 63 69 |or. We c|an speci|
|00000890| 61 6c 20 63 61 73 65 20 | 77 68 65 6e 20 77 69 6e |al case |when win|
|000008a0| 64 6f 77 73 20 61 72 65 | 20 6f 66 66 20 74 68 65 |dows are| off the|
|000008b0| 20 73 63 72 65 65 6e 20 | 61 6e 64 20 64 65 63 6f | screen |and deco|
|000008c0| 6d 70 72 65 73 73 20 69 | 6e 74 6f 20 61 6e 20 6f |mpress i|nto an o|
|000008d0| 66 66 73 63 72 65 65 6e | 20 47 57 6f 72 6c 64 20 |ffscreen| GWorld |
|000008e0| 62 75 74 20 77 65 20 77 | 6f 75 6c 64 20 70 72 65 |but we w|ould pre|
|000008f0| 66 65 72 20 61 20 66 69 | 78 20 74 6f 20 65 69 74 |fer a fi|x to eit|
|00000900| 68 65 72 20 51 75 69 63 | 6b 54 69 6d 65 20 6f 72 |her Quic|kTime or|
|00000910| 20 53 79 73 74 65 6d 20 | 37 2e 0d 5f 5f 5f 0d 54 | System |7..___.T|
|00000920| 68 65 20 70 72 6f 62 6c | 65 6d 20 79 6f 75 20 61 |he probl|em you a|
|00000930| 72 65 20 68 61 76 69 6e | 67 20 69 73 20 64 75 65 |re havin|g is due|
|00000940| 20 74 6f 20 61 20 62 75 | 67 20 69 6e 20 74 68 65 | to a bu|g in the|
|00000950| 20 49 6d 61 67 65 20 43 | 6f 6d 70 72 65 73 73 69 | Image C|ompressi|
|00000960| 6f 6e 20 4d 61 6e 61 67 | 65 72 2e 20 49 74 20 66 |on Manag|er. It f|
|00000970| 61 69 6c 73 20 74 6f 20 | 63 6c 65 61 72 20 51 44 |ails to |clear QD|
|00000980| 45 72 72 6f 72 20 77 68 | 65 6e 20 73 74 61 72 74 |Error wh|en start|
|00000990| 69 6e 67 20 61 20 64 65 | 63 6f 6d 70 72 65 73 73 |ing a de|compress|
|000009a0| 69 6f 6e 20 6a 6f 62 20 | 61 6e 64 20 6c 61 74 65 |ion job |and late|
|000009b0| 72 20 63 68 65 63 6b 73 | 20 69 74 20 74 6f 20 73 |r checks| it to s|
|000009c0| 65 65 20 69 66 20 69 74 | 20 69 73 20 4f 4b 20 74 |ee if it| is OK t|
|000009d0| 6f 20 63 6f 6e 74 69 6e | 75 65 20 74 68 65 20 6f |o contin|ue the o|
|000009e0| 70 65 72 61 74 69 6f 6e | 2e 20 53 6f 6d 65 74 68 |peration|. Someth|
|000009f0| 69 6e 67 20 65 6c 73 65 | 20 69 73 20 73 65 74 74 |ing else| is sett|
|00000a00| 69 6e 67 20 51 44 45 72 | 72 20 61 6e 64 20 79 6f |ing QDEr|r and yo|
|00000a10| 75 72 20 63 61 6c 6c 20 | 66 61 69 6c 73 2e 0d 54 |ur call |fails..T|
|00000a20| 68 65 20 73 6f 6c 75 74 | 69 6f 6e 20 74 68 61 74 |he solut|ion that|
|00000a30| 20 79 6f 75 20 63 61 6e | 20 69 6d 70 6c 65 6d 65 | you can| impleme|
|00000a40| 6e 74 20 6e 6f 77 20 63 | 6f 6e 73 69 73 74 73 20 |nt now c|onsists |
|00000a50| 6f 66 20 63 6c 65 61 72 | 69 6e 67 20 51 44 45 72 |of clear|ing QDEr|
|00000a60| 72 20 62 65 66 6f 72 65 | 20 63 61 6c 6c 69 6e 67 |r before| calling|
|00000a70| 20 61 6e 79 20 6f 66 20 | 74 68 65 20 64 65 63 6f | any of |the deco|
|00000a80| 6d 70 72 65 73 73 69 6f | 6e 20 72 6f 75 74 69 6e |mpressio|n routin|
|00000a90| 65 73 2e 20 59 6f 75 20 | 63 61 6e 20 61 63 63 6f |es. You |can acco|
|00000aa0| 6d 70 6c 69 73 68 20 74 | 68 69 73 20 62 79 20 63 |mplish t|his by c|
|00000ab0| 61 6c 6c 69 6e 67 20 51 | 44 45 72 72 6f 72 20 28 |alling Q|DError (|
|00000ac0| 77 68 69 63 68 20 63 6c | 65 61 72 73 20 74 68 65 |which cl|ears the|
|00000ad0| 20 65 72 72 6f 72 20 61 | 66 74 65 72 20 69 74 20 | error a|fter it |
|00000ae0| 70 61 73 73 65 73 20 74 | 68 65 20 63 75 72 72 65 |passes t|he curre|
|00000af0| 6e 74 20 76 61 6c 75 65 | 20 74 6f 20 79 6f 75 29 |nt value| to you)|
|00000b00| 20 6f 72 20 7a 65 72 6f | 69 6e 67 20 74 68 65 20 | or zero|ing the |
|00000b10| 6c 6f 77 20 6d 65 6d 20 | 51 44 65 72 72 20 28 30 |low mem |QDerr (0|
|00000b20| 78 44 36 45 29 20 62 79 | 20 68 61 6e 64 2e 0d 46 |xD6E) by| hand..F|
|00000b30| 75 74 75 72 65 20 76 65 | 72 73 69 6f 6e 73 20 6f |uture ve|rsions o|
|00000b40| 66 20 51 75 69 63 6b 54 | 69 6d 65 20 77 69 6c 6c |f QuickT|ime will|
|00000b50| 20 68 61 76 65 20 74 68 | 65 20 66 69 78 20 61 6e | have th|e fix an|
|00000b60| 64 20 77 69 6c 6c 20 6e | 6f 74 20 72 65 71 75 69 |d will n|ot requi|
|00000b70| 72 65 20 74 68 61 74 20 | 79 6f 75 20 77 6f 72 6b |re that |you work|
|00000b80| 20 61 72 6f 75 6e 64 20 | 74 68 65 20 70 72 6f 62 | around |the prob|
|00000b90| 6c 65 6d 2e 0d 4d 6f 76 | 69 65 20 54 6f 6f 6c 62 |lem..Mov|ie Toolb|
|00000ba0| 6f 78 20 51 26 41 73 0d | 51 75 69 63 6b 54 69 6d |ox Q&As.|QuickTim|
|00000bb0| 65 09 4d 2e 51 54 2e 4d | 6f 76 69 65 54 42 2e 51 |e.M.QT.M|ovieTB.Q|
|00000bc0| 26 41 73 0d 52 65 76 69 | 73 65 64 20 62 79 3a 09 |&As.Revi|sed by:.|
|00000bd0| 44 65 76 65 6c 6f 70 65 | 72 20 53 75 70 70 6f 72 |Develope|r Suppor|
|00000be0| 74 20 43 65 6e 74 65 72 | 09 4e 6f 76 65 6d 62 65 |t Center|.Novembe|
|00000bf0| 72 20 31 39 39 32 0d 57 | 72 69 74 74 65 6e 20 62 |r 1992.W|ritten b|
|00000c00| 79 3a 09 44 65 76 65 6c | 6f 70 65 72 20 53 75 70 |y:.Devel|oper Sup|
|00000c10| 70 6f 72 74 20 43 65 6e | 74 65 72 09 4f 63 74 6f |port Cen|ter.Octo|
|00000c20| 62 65 72 20 31 39 39 30 | 0d 54 68 69 73 20 54 65 |ber 1990|.This Te|
|00000c30| 63 68 6e 69 63 61 6c 20 | 4e 6f 74 65 20 63 6f 6e |chnical |Note con|
|00000c40| 74 61 69 6e 73 20 61 20 | 63 6f 6c 6c 65 63 74 69 |tains a |collecti|
|00000c50| 6f 6e 20 6f 66 20 51 26 | 41 73 20 72 65 6c 61 74 |on of Q&|As relat|
|00000c60| 69 6e 67 20 74 6f 20 61 | 20 73 70 65 63 69 66 69 |ing to a| specifi|
|00000c70| 63 20 74 6f 70 69 63 d1 | 71 75 65 73 74 69 6f 6e |c topic.|question|
|00000c80| 73 20 79 6f 75 d5 76 65 | 20 73 65 6e 74 20 74 68 |s you.ve| sent th|
|00000c90| 65 20 44 65 76 65 6c 6f | 70 65 72 20 53 75 70 70 |e Develo|per Supp|
|00000ca0| 6f 72 74 20 43 65 6e 74 | 65 72 20 28 44 53 43 29 |ort Cent|er (DSC)|
|00000cb0| 20 61 6c 6f 6e 67 20 77 | 69 74 68 20 61 6e 73 77 | along w|ith answ|
|00000cc0| 65 72 73 20 66 72 6f 6d | 20 74 68 65 20 44 53 43 |ers from| the DSC|
|00000cd0| 20 65 6e 67 69 6e 65 65 | 72 73 2e 20 57 68 69 6c | enginee|rs. Whil|
|00000ce0| 65 20 44 53 43 20 65 6e | 67 69 6e 65 65 72 73 20 |e DSC en|gineers |
|00000cf0| 68 61 76 65 20 63 68 65 | 63 6b 65 64 20 74 68 65 |have che|cked the|
|00000d00| 20 51 26 41 20 63 6f 6e | 74 65 6e 74 20 66 6f 72 | Q&A con|tent for|
|00000d10| 20 61 63 63 75 72 61 63 | 79 2c 20 74 68 65 20 51 | accurac|y, the Q|
|00000d20| 26 41 20 54 65 63 68 6e | 69 63 61 6c 20 4e 6f 74 |&A Techn|ical Not|
|00000d30| 65 73 20 64 6f 6e d5 74 | 20 68 61 76 65 20 74 68 |es don.t| have th|
|00000d40| 65 20 65 64 69 74 69 6e | 67 20 61 6e 64 20 6f 72 |e editin|g and or|
|00000d50| 67 61 6e 69 7a 61 74 69 | 6f 6e 20 6f 66 20 6f 74 |ganizati|on of ot|
|00000d60| 68 65 72 20 54 65 63 68 | 6e 69 63 61 6c 20 4e 6f |her Tech|nical No|
|00000d70| 74 65 73 2e 20 54 68 65 | 20 51 26 41 20 66 75 6e |tes. The| Q&A fun|
|00000d80| 63 74 69 6f 6e 20 69 73 | 20 74 6f 20 67 65 74 20 |ction is| to get |
|00000d90| 6e 65 77 20 74 65 63 68 | 6e 69 63 61 6c 20 69 6e |new tech|nical in|
|00000da0| 66 6f 72 6d 61 74 69 6f | 6e 20 61 6e 64 20 75 70 |formatio|n and up|
|00000db0| 64 61 74 65 73 20 74 6f | 20 79 6f 75 20 71 75 69 |dates to| you qui|
|00000dc0| 63 6b 6c 79 2c 20 73 61 | 76 69 6e 67 20 74 68 65 |ckly, sa|ving the|
|00000dd0| 20 70 6f 6c 69 73 68 20 | 66 6f 72 20 77 68 65 6e | polish |for when|
|00000de0| 20 74 68 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | the inf|ormation|
|00000df0| 20 6d 69 67 72 61 74 65 | 73 20 69 6e 74 6f 20 72 | migrate|s into r|
|00000e00| 65 66 65 72 65 6e 63 65 | 20 6d 61 6e 75 61 6c 73 |eference| manuals|
|00000e10| 2e 0d 51 26 41 73 20 61 | 72 65 20 6e 6f 77 20 69 |..Q&As a|re now i|
|00000e20| 6e 63 6c 75 64 65 64 20 | 77 69 74 68 20 54 65 63 |ncluded |with Tec|
|00000e30| 68 6e 69 63 61 6c 20 4e | 6f 74 65 73 20 74 6f 20 |hnical N|otes to |
|00000e40| 6d 61 6b 65 20 61 63 63 | 65 73 73 20 74 6f 20 74 |make acc|ess to t|
|00000e50| 65 63 68 6e 69 63 61 6c | 20 75 70 64 61 74 65 73 |echnical| updates|
|00000e60| 20 65 61 73 69 65 72 20 | 66 6f 72 20 79 6f 75 2e | easier |for you.|
|00000e70| 20 49 66 20 79 6f 75 20 | 68 61 76 65 20 63 6f 6d | If you |have com|
|00000e80| 6d 65 6e 74 73 20 6f 72 | 20 73 75 67 67 65 73 74 |ments or| suggest|
|00000e90| 69 6f 6e 73 20 61 62 6f | 75 74 20 51 26 41 20 63 |ions abo|ut Q&A c|
|00000ea0| 6f 6e 74 65 6e 74 20 6f | 72 20 64 69 73 74 72 69 |ontent o|r distri|
|00000eb0| 62 75 74 69 6f 6e 2c 20 | 70 6c 65 61 73 65 20 6c |bution, |please l|
|00000ec0| 65 74 20 75 73 20 6b 6e | 6f 77 20 62 79 20 73 65 |et us kn|ow by se|
|00000ed0| 6e 64 69 6e 67 20 61 6e | 20 41 70 70 6c 65 4c 69 |nding an| AppleLi|
|00000ee0| 6e 6b 20 74 6f 20 44 45 | 56 46 45 45 44 42 41 43 |nk to DE|VFEEDBAC|
|00000ef0| 4b 2e 20 41 70 70 6c 65 | 20 50 61 72 74 6e 65 72 |K. Apple| Partner|
|00000f00| 73 20 6d 61 79 20 73 65 | 6e 64 20 74 65 63 68 6e |s may se|nd techn|
|00000f10| 69 63 61 6c 20 71 75 65 | 73 74 69 6f 6e 73 20 61 |ical que|stions a|
|00000f20| 62 6f 75 74 20 51 26 41 | 20 63 6f 6e 74 65 6e 74 |bout Q&A| content|
|00000f30| 20 74 6f 20 44 45 56 53 | 55 50 50 4f 52 54 20 66 | to DEVS|UPPORT f|
|00000f40| 6f 72 20 72 65 73 6f 6c | 75 74 69 6f 6e 2e 0d 4e |or resol|ution..N|
|00000f50| 65 77 20 51 26 41 73 20 | 61 6e 64 20 51 26 41 73 |ew Q&As |and Q&As|
|00000f60| 20 72 65 76 69 73 65 64 | 20 74 68 69 73 20 6d 6f | revised| this mo|
|00000f70| 6e 74 68 20 61 72 65 20 | 6d 61 72 6b 65 64 20 77 |nth are |marked w|
|00000f80| 69 74 68 20 61 20 62 61 | 72 20 69 6e 20 74 68 65 |ith a ba|r in the|
|00000f90| 20 73 69 64 65 20 6d 61 | 72 67 69 6e 2e 0d 51 75 | side ma|rgin..Qu|
|00000fa0| 69 63 6b 54 69 6d 65 20 | 4d 6f 76 69 65 20 54 6f |ickTime |Movie To|
|00000fb0| 6f 6c 62 6f 78 20 d2 67 | 6c 6f 62 61 6c 73 d3 20 |olbox .g|lobals. |
|00000fc0| 61 72 65 20 73 74 6f 72 | 65 64 20 69 6e 20 73 79 |are stor|ed in sy|
|00000fd0| 73 74 65 6d 20 68 65 61 | 70 0d 57 72 69 74 74 65 |stem hea|p.Writte|
|00000fe0| 6e 3a 09 0d 4c 61 73 74 | 20 72 65 76 69 65 77 65 |n:..Last| reviewe|
|00000ff0| 64 3a 09 0d 41 63 63 6f | 72 64 69 6e 67 20 74 6f |d:..Acco|rding to|
|00001000| 20 74 68 65 20 51 75 69 | 63 6b 54 69 6d 65 20 4d | the Qui|ckTime M|
|00001010| 6f 76 69 65 20 54 6f 6f | 6c 62 6f 78 20 64 6f 63 |ovie Too|lbox doc|
|00001020| 75 6d 65 6e 74 61 74 69 | 6f 6e 2c 20 d2 54 68 65 |umentati|on, .The|
|00001030| 20 4d 6f 76 69 65 20 54 | 6f 6f 6c 62 6f 78 20 6d | Movie T|oolbox m|
|00001040| 61 69 6e 74 61 69 6e 73 | 20 61 20 73 65 74 20 6f |aintains| a set o|
|00001050| 66 20 67 6c 6f 62 61 6c | 20 76 61 72 69 61 62 6c |f global| variabl|
|00001060| 65 73 20 66 6f 72 20 65 | 76 65 72 79 20 61 70 70 |es for e|very app|
|00001070| 6c 69 63 61 74 69 6f 6e | 20 75 73 69 6e 67 20 69 |lication| using i|
|00001080| 74 2e d3 20 48 6f 77 20 | 6d 75 63 68 20 67 6c 6f |t.. How |much glo|
|00001090| 62 61 6c 20 6d 65 6d 6f | 72 79 20 69 73 20 72 65 |bal memo|ry is re|
|000010a0| 71 75 69 72 65 64 3f 20 | 4f 75 72 20 61 70 70 6c |quired? |Our appl|
|000010b0| 69 63 61 74 69 6f 6e 20 | 69 73 20 73 68 79 20 6f |ication |is shy o|
|000010c0| 6e 20 67 6c 6f 62 61 6c | 20 64 61 74 61 20 73 70 |n global| data sp|
|000010d0| 61 63 65 2e 0d 5f 5f 5f | 0d 54 68 65 20 69 6e 66 |ace..___|.The inf|
|000010e0| 6f 72 6d 61 74 69 6f 6e | 20 6d 61 69 6e 74 61 69 |ormation| maintai|
|000010f0| 6e 65 64 20 69 73 20 6e | 6f 74 20 6b 65 70 74 20 |ned is n|ot kept |
|00001100| 77 69 74 68 20 74 68 65 | 20 61 70 70 6c 69 63 61 |with the| applica|
|00001110| 74 69 6f 6e d5 73 20 67 | 6c 6f 62 61 6c 20 76 61 |tion.s g|lobal va|
|00001120| 72 69 61 62 6c 65 73 2e | 20 54 68 65 20 68 61 6e |riables.| The han|
|00001130| 64 6c 65 20 63 72 65 61 | 74 65 64 20 62 79 20 74 |dle crea|ted by t|
|00001140| 68 65 20 45 6e 74 65 72 | 4d 6f 76 69 65 73 20 63 |he Enter|Movies c|
|00001150| 61 6c 6c 20 69 73 20 73 | 74 6f 72 65 64 20 69 6e |all is s|tored in|
|00001160| 20 74 68 65 20 73 79 73 | 74 65 6d 20 68 65 61 70 | the sys|tem heap|
|00001170| 2c 20 6e 6f 74 20 69 6e | 20 74 68 65 20 61 70 70 |, not in| the app|
|00001180| 6c 69 63 61 74 69 6f 6e | 20 68 65 61 70 2e 20 59 |lication| heap. Y|
|00001190| 6f 75 20 64 6f 6e d5 74 | 20 68 61 76 65 20 74 6f |ou don.t| have to|
|000011a0| 20 77 6f 72 72 79 20 61 | 62 6f 75 74 20 68 6f 77 | worry a|bout how|
|000011b0| 20 6d 75 63 68 20 73 70 | 61 63 65 20 74 6f 20 61 | much sp|ace to a|
|000011c0| 6c 6c 6f 63 61 74 65 20 | 69 6e 20 79 6f 75 72 20 |llocate |in your |
|000011d0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2e 20 54 68 69 |applicat|ion. Thi|
|000011e0| 73 20 69 6e 69 74 69 61 | 6c 69 7a 61 74 69 6f 6e |s initia|lization|
|000011f0| 20 64 6f 65 73 20 6e 6f | 74 20 61 66 66 65 63 74 | does no|t affect|
|00001200| 20 79 6f 75 72 20 41 35 | 20 77 6f 72 6c 64 20 65 | your A5| world e|
|00001210| 69 74 68 65 72 2e 0d 45 | 6e 74 65 72 4d 6f 76 69 |ither..E|nterMovi|
|00001220| 65 73 20 69 6e 69 74 69 | 61 6c 69 7a 65 73 20 65 |es initi|alizes e|
|00001230| 76 65 72 79 74 68 69 6e | 67 2c 20 69 6e 63 6c 75 |verythin|g, inclu|
|00001240| 64 69 6e 67 20 73 65 74 | 74 69 6e 67 20 75 70 20 |ding set|ting up |
|00001250| 74 68 65 20 6e 65 63 65 | 73 73 61 72 79 20 64 61 |the nece|ssary da|
|00001260| 74 61 20 73 70 61 63 65 | 20 61 6e 64 20 63 72 65 |ta space| and cre|
|00001270| 61 74 69 6e 67 20 61 20 | 68 61 6e 64 6c 65 20 74 |ating a |handle t|
|00001280| 6f 20 69 74 2e 20 57 68 | 65 6e 20 79 6f 75 d5 72 |o it. Wh|en you.r|
|00001290| 65 20 64 6f 6e 65 2c 20 | 62 65 20 73 75 72 65 20 |e done, |be sure |
|000012a0| 74 6f 20 6d 61 6b 65 20 | 61 20 63 61 6c 6c 20 74 |to make |a call t|
|000012b0| 6f 20 45 78 69 74 4d 6f | 76 69 65 73 20 74 6f 20 |o ExitMo|vies to |
|000012c0| 63 6c 65 61 6e 20 75 70 | 20 74 68 65 20 51 75 69 |clean up| the Qui|
|000012d0| 63 6b 54 69 6d 65 20 64 | 61 74 61 2e 0d 49 66 20 |ckTime d|ata..If |
|000012e0| 61 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 6d |an appli|cation m|
|000012f0| 61 6b 65 73 20 6d 75 6c | 74 69 70 6c 65 20 63 61 |akes mul|tiple ca|
|00001300| 6c 6c 73 20 74 6f 20 45 | 6e 74 65 72 4d 6f 76 69 |lls to E|nterMovi|
|00001310| 65 73 2c 20 61 20 64 69 | 66 66 65 72 65 6e 74 20 |es, a di|fferent |
|00001320| 73 65 74 20 6f 66 20 d2 | 67 6c 6f 62 61 6c 73 2c |set of .|globals,|
|00001330| d3 20 6f 72 20 64 61 74 | 61 20 61 72 65 61 2c 20 |. or dat|a area, |
|00001340| 69 73 20 73 65 74 20 75 | 70 20 66 6f 72 20 65 61 |is set u|p for ea|
|00001350| 63 68 20 63 61 6c 6c 2e | 20 41 20 63 61 6c 6c 20 |ch call.| A call |
|00001360| 74 6f 20 45 78 69 74 4d | 6f 76 69 65 73 20 73 68 |to ExitM|ovies sh|
|00001370| 6f 75 6c 64 20 62 65 20 | 6d 61 64 65 20 62 65 66 |ould be |made bef|
|00001380| 6f 72 65 20 65 78 69 74 | 69 6e 67 20 74 68 65 20 |ore exit|ing the |
|00001390| 61 72 65 61 20 74 68 61 | 74 20 6d 61 64 65 20 74 |area tha|t made t|
|000013a0| 68 65 20 63 61 6c 6c 20 | 74 6f 20 45 6e 74 65 72 |he call |to Enter|
|000013b0| 4d 6f 76 69 65 73 2e 20 | 46 6f 72 20 65 78 61 6d |Movies. |For exam|
|000013c0| 70 6c 65 2c 20 61 6e 20 | 61 70 70 6c 69 63 61 74 |ple, an |applicat|
|000013d0| 69 6f 6e 20 74 68 61 74 | 20 75 73 65 73 20 51 75 |ion that| uses Qu|
|000013e0| 69 63 6b 54 69 6d 65 20 | 77 69 6c 6c 20 63 61 6c |ickTime |will cal|
|000013f0| 6c 20 45 6e 74 65 72 4d | 6f 76 69 65 73 20 61 6e |l EnterM|ovies an|
|00001400| 64 20 73 65 74 20 75 70 | 20 74 68 65 20 51 75 69 |d set up| the Qui|
|00001410| 63 6b 54 69 6d 65 20 77 | 6f 72 6c 64 2e 20 54 68 |ckTime w|orld. Th|
|00001420| 65 6e 20 61 6e 20 65 78 | 74 65 72 6e 61 6c 20 6d |en an ex|ternal m|
|00001430| 61 79 20 62 65 20 63 61 | 6c 6c 65 64 20 75 70 6f |ay be ca|lled upo|
|00001440| 6e 20 74 68 61 74 20 77 | 61 6e 74 73 20 74 6f 20 |n that w|ants to |
|00001450| 75 73 65 20 51 75 69 63 | 6b 54 69 6d 65 2e 20 54 |use Quic|kTime. T|
|00001460| 68 69 73 20 65 78 74 65 | 72 6e 61 6c 20 77 6f 75 |his exte|rnal wou|
|00001470| 6c 64 20 68 61 76 65 20 | 74 6f 20 6d 61 6b 65 20 |ld have |to make |
|00001480| 61 20 63 61 6c 6c 20 74 | 6f 20 45 6e 74 65 72 4d |a call t|o EnterM|
|00001490| 6f 76 69 65 73 20 74 6f | 20 73 65 74 20 75 70 20 |ovies to| set up |
|000014a0| 61 6e 6f 74 68 65 72 20 | 51 75 69 63 6b 54 69 6d |another |QuickTim|
|000014b0| 65 20 77 6f 72 6c 64 20 | 66 6f 72 20 69 74 73 20 |e world |for its |
|000014c0| 75 73 65 2e 20 42 65 66 | 6f 72 65 20 6c 65 61 76 |use. Bef|ore leav|
|000014d0| 69 6e 67 2c 20 74 68 65 | 20 65 78 74 65 72 6e 61 |ing, the| externa|
|000014e0| 6c 20 73 68 6f 75 6c 64 | 20 63 61 6c 6c 20 45 78 |l should| call Ex|
|000014f0| 69 74 4d 6f 76 69 65 73 | 20 74 6f 20 63 6c 65 61 |itMovies| to clea|
|00001500| 6e 20 75 70 20 61 66 74 | 65 72 20 69 74 73 65 6c |n up aft|er itsel|
|00001510| 66 2e 20 54 68 65 20 61 | 70 70 6c 69 63 61 74 69 |f. The a|pplicati|
|00001520| 6f 6e 20 63 61 6e 20 74 | 68 65 6e 20 63 6f 6e 74 |on can t|hen cont|
|00001530| 69 6e 75 65 20 74 6f 20 | 75 73 65 20 51 75 69 63 |inue to |use Quic|
|00001540| 6b 54 69 6d 65 20 77 69 | 74 68 20 74 68 65 20 6f |kTime wi|th the o|
|00001550| 72 69 67 69 6e 61 6c 20 | 77 6f 72 6c 64 20 69 74 |riginal |world it|
|00001560| 20 73 65 74 20 75 70 2e | 0d 51 75 69 63 6b 54 69 | set up.|.QuickTi|
|00001570| 6d 65 20 66 69 6c 65 20 | 61 75 64 69 6f 20 72 65 |me file |audio re|
|00001580| 74 72 69 65 76 61 6c 0d | 57 72 69 74 74 65 6e 3a |trieval.|Written:|
|00001590| 09 0d 4c 61 73 74 20 72 | 65 76 69 65 77 65 64 3a |..Last r|eviewed:|
|000015a0| 09 0d 48 6f 77 20 63 61 | 6e 20 49 20 72 65 74 72 |..How ca|n I retr|
|000015b0| 69 65 76 65 20 61 75 64 | 69 6f 20 66 72 6f 6d 20 |ieve aud|io from |
|000015c0| 51 75 69 63 6b 54 69 6d | 65 20 66 69 6c 65 73 20 |QuickTim|e files |
|000015d0| 69 6e 20 31 2d 73 65 63 | 6f 6e 64 20 63 68 75 6e |in 1-sec|ond chun|
|000015e0| 6b 73 3f 20 49 20 6e 65 | 65 64 20 61 20 73 6f 75 |ks? I ne|ed a sou|
|000015f0| 6e 64 20 65 71 75 69 76 | 61 6c 65 6e 74 20 6f 66 |nd equiv|alent of|
|00001600| 20 47 65 74 4d 6f 76 69 | 65 50 69 63 74 2e 0d 5f | GetMovi|ePict.._|
|00001610| 5f 5f 0d 59 6f 75 20 77 | 69 6c 6c 20 68 61 76 65 |__.You w|ill have|
|00001620| 20 74 6f 20 77 72 69 74 | 65 20 79 6f 75 72 20 6f | to writ|e your o|
|00001630| 77 6e 20 61 75 64 69 6f | 20 65 78 74 72 61 63 74 |wn audio| extract|
|00001640| 69 6f 6e 20 72 6f 75 74 | 69 6e 65 2e 20 54 68 65 |ion rout|ine. The|
|00001650| 20 4d 6f 76 69 65 20 54 | 6f 6f 6c 62 6f 78 20 64 | Movie T|oolbox d|
|00001660| 6f 65 73 20 6e 6f 74 20 | 70 72 6f 76 69 64 65 20 |oes not |provide |
|00001670| 61 20 73 69 6d 70 6c 65 | 20 63 61 6c 6c 20 74 6f |a simple| call to|
|00001680| 2c 20 73 61 79 2c 20 47 | 65 74 4d 6f 76 69 65 53 |, say, G|etMovieS|
|00001690| 6f 75 6e 64 28 6d 6f 76 | 69 65 2c ca 74 69 6d 65 |ound(mov|ie,.time|
|000016a0| 2c ca 64 75 72 61 74 69 | 6f 6e 29 2e 20 54 6f 20 |,.durati|on). To |
|000016b0| 67 65 74 20 61 72 6f 75 | 6e 64 20 74 68 69 73 20 |get arou|nd this |
|000016c0| 6c 69 6d 69 74 61 74 69 | 6f 6e 2c 20 75 73 65 20 |limitati|on, use |
|000016d0| 47 65 74 4d 65 64 69 61 | 53 61 6d 70 6c 65 20 61 |GetMedia|Sample a|
|000016e0| 6e 64 20 63 6f 6c 6c 65 | 63 74 20 74 68 65 20 73 |nd colle|ct the s|
|000016f0| 6f 75 6e 64 20 64 61 74 | 61 20 62 79 20 68 61 6e |ound dat|a by han|
|00001700| 64 2e 20 54 68 65 20 66 | 6f 72 6d 61 74 20 66 6f |d. The f|ormat fo|
|00001710| 72 20 74 68 65 20 66 69 | 6e 61 6c 20 72 65 73 75 |r the fi|nal resu|
|00001720| 6c 74 20 69 73 20 75 70 | 20 74 6f 20 79 6f 75 3b |lt is up| to you;|
|00001730| 20 69 6e 20 74 68 65 20 | 63 61 73 65 20 6f 66 20 | in the |case of |
|00001740| 61 20 27 73 6e 64 20 27 | 20 72 65 73 6f 75 72 63 |a 'snd '| resourc|
|00001750| 65 20 79 6f 75 d5 64 20 | 63 72 65 61 74 65 20 74 |e you.d |create t|
|00001760| 68 65 20 68 61 6e 64 6c | 65 20 66 69 6c 6c 20 69 |he handl|e fill i|
|00001770| 6e 20 74 68 65 20 6f 74 | 68 65 72 20 66 69 65 6c |n the ot|her fiel|
|00001780| 64 73 20 61 6e 64 20 70 | 75 74 20 74 68 65 20 73 |ds and p|ut the s|
|00001790| 61 6d 70 6c 65 20 64 61 | 74 61 20 69 6e 20 69 74 |ample da|ta in it|
|000017a0| 2e 0d 59 6f 75 20 63 61 | 6e 20 75 73 65 20 74 68 |..You ca|n use th|
|000017b0| 65 20 51 75 69 63 6b 54 | 69 6d 65 20 53 6f 75 6e |e QuickT|ime Soun|
|000017c0| 64 44 65 73 63 72 69 70 | 74 69 6f 6e 20 64 61 74 |dDescrip|tion dat|
|000017d0| 61 20 73 74 72 75 63 74 | 75 72 65 20 28 31 29 20 |a struct|ure (1) |
|000017e0| 74 6f 20 66 69 6e 64 20 | 66 72 65 71 75 65 6e 63 |to find |frequenc|
|000017f0| 79 2c 20 66 6f 72 6d 61 | 74 2c 20 61 6e 64 20 6f |y, forma|t, and o|
|00001800| 74 68 65 72 20 64 65 74 | 61 69 6c 73 2c 20 28 32 |ther det|ails, (2|
|00001810| 29 20 74 6f 20 68 65 6c | 70 20 79 6f 75 20 66 69 |) to hel|p you fi|
|00001820| 67 75 72 65 20 6f 75 74 | 20 68 6f 77 20 6d 61 6e |gure out| how man|
|00001830| 79 20 73 61 6d 70 6c 65 | 73 20 79 6f 75 20 6e 65 |y sample|s you ne|
|00001840| 65 64 20 66 6f 72 20 61 | 20 73 65 63 6f 6e 64 2c |ed for a| second,|
|00001850| 20 61 6e 64 20 28 33 29 | 20 74 6f 20 66 69 6c 6c | and (3)| to fill|
|00001860| 20 69 6e 20 74 68 65 20 | 72 65 73 6f 75 72 63 65 | in the |resource|
|00001870| 20 64 61 74 61 20 66 69 | 65 6c 64 73 2e 0d 4f 66 | data fi|elds..Of|
|00001880| 20 63 6f 75 72 73 65 2c | 20 74 68 69 73 20 73 63 | course,| this sc|
|00001890| 68 65 6d 65 20 67 65 74 | 73 20 6d 6f 72 65 20 63 |heme get|s more c|
|000018a0| 6f 6d 70 6c 69 63 61 74 | 65 64 20 69 6e 20 74 68 |omplicat|ed in th|
|000018b0| 65 20 63 61 73 65 20 77 | 68 65 6e 20 74 68 65 72 |e case w|hen ther|
|000018c0| 65 20 61 72 65 20 6d 6f | 72 65 20 74 68 61 6e 20 |e are mo|re than |
|000018d0| 61 20 73 69 6e 67 6c 65 | 20 73 6f 75 6e 64 20 74 |a single| sound t|
|000018e0| 72 61 63 6b 2e 20 54 68 | 65 20 62 65 73 74 20 73 |rack. Th|e best s|
|000018f0| 6f 75 72 63 65 20 6f 66 | 20 69 6e 66 6f 72 6d 61 |ource of| informa|
|00001900| 74 69 6f 6e 20 6f 6e 20 | 73 6f 75 6e 64 20 72 65 |tion on |sound re|
|00001910| 73 6f 75 72 63 65 73 20 | 61 6e 64 20 73 75 63 68 |sources |and such|
|00001920| 20 69 73 20 74 68 65 20 | 53 6f 75 6e 64 20 4d 61 | is the |Sound Ma|
|00001930| 6e 61 67 65 72 20 63 68 | 61 70 74 65 72 20 69 6e |nager ch|apter in|
|00001940| 20 49 6e 73 69 64 65 20 | 4d 61 63 69 6e 74 6f 73 | Inside |Macintos|
|00001950| 68 20 56 6f 6c 75 6d 65 | 20 56 49 2e 0d 43 75 72 |h Volume| VI..Cur|
|00001960| 72 65 6e 74 20 51 75 69 | 63 6b 54 69 6d 65 20 73 |rent Qui|ckTime s|
|00001970| 75 70 70 6f 72 74 73 20 | 6f 6e 6c 79 20 76 69 64 |upports |only vid|
|00001980| 65 6f 20 61 6e 64 20 73 | 6f 75 6e 64 20 6d 65 64 |eo and s|ound med|
|00001990| 69 61 0d 57 72 69 74 74 | 65 6e 3a 09 0d 4c 61 73 |ia.Writt|en:..Las|
|000019a0| 74 20 72 65 76 69 65 77 | 65 64 3a 09 0d 43 61 6e |t review|ed:..Can|
|000019b0| 20 49 20 61 64 64 20 61 | 20 6d 65 64 69 61 20 74 | I add a| media t|
|000019c0| 6f 20 61 20 51 75 69 63 | 6b 54 69 6d 65 20 6d 6f |o a Quic|kTime mo|
|000019d0| 76 69 65 20 74 68 61 74 | 20 69 73 20 6e 6f 74 20 |vie that| is not |
|000019e0| 76 69 64 65 6f 20 6f 72 | 20 61 75 64 69 6f 3f 20 |video or| audio? |
|000019f0| 49 66 20 73 6f 20 69 73 | 20 74 68 65 72 65 20 61 |If so is| there a|
|00001a00| 6e 79 74 68 69 6e 67 20 | 73 70 65 63 69 61 6c 20 |nything |special |
|00001a10| 49 20 6e 65 65 64 20 74 | 6f 20 64 6f 20 74 6f 20 |I need t|o do to |
|00001a20| 61 64 64 20 74 65 78 74 | 20 6e 6f 74 65 73 20 74 |add text| notes t|
|00001a30| 68 61 74 20 63 61 6e 20 | 70 6f 74 65 6e 74 69 61 |hat can |potentia|
|00001a40| 6c 6c 79 20 61 63 63 6f | 6d 70 61 6e 79 20 65 61 |lly acco|mpany ea|
|00001a50| 63 68 20 66 72 61 6d 65 | 20 69 6e 20 6d 79 20 d2 |ch frame| in my .|
|00001a60| 6d 6f 76 69 65 2c d3 20 | 77 68 69 63 68 20 63 61 |movie,. |which ca|
|00001a70| 6e 20 66 6f 6c 6c 6f 77 | 20 74 68 65 20 76 69 64 |n follow| the vid|
|00001a80| 65 6f 20 66 72 61 6d 65 | 73 20 69 66 20 61 20 75 |eo frame|s if a u|
|00001a90| 73 65 72 20 65 64 69 74 | 73 20 74 68 65 20 6d 6f |ser edit|s the mo|
|00001aa0| 76 69 65 20 69 6e 20 61 | 6e 79 20 77 61 79 2e 0d |vie in a|ny way..|
|00001ab0| 5f 5f 5f 0d 54 68 65 20 | 63 75 72 72 65 6e 74 20 |___.The |current |
|00001ac0| 72 65 6c 65 61 73 65 20 | 6f 66 20 51 75 69 63 6b |release |of Quick|
|00001ad0| 54 69 6d 65 20 6f 6e 6c | 79 20 61 6c 6c 6f 77 73 |Time onl|y allows|
|00001ae0| 20 66 6f 72 20 76 69 64 | 65 6f 20 61 6e 64 20 73 | for vid|eo and s|
|00001af0| 6f 75 6e 64 20 6d 65 64 | 69 61 2e 20 54 68 65 72 |ound med|ia. Ther|
|00001b00| 65 20 69 73 20 6e 6f 20 | 77 61 79 20 74 6f 20 69 |e is no |way to i|
|00001b10| 6e 73 74 61 6c 6c 20 79 | 6f 75 72 20 6f 77 6e 20 |nstall y|our own |
|00001b20| 74 79 70 65 2e 20 54 68 | 69 73 20 69 73 20 61 20 |type. Th|is is a |
|00001b30| 68 69 67 68 20 51 75 69 | 63 6b 54 69 6d 65 20 70 |high Qui|ckTime p|
|00001b40| 72 69 6f 72 69 74 79 20 | 61 6e 64 20 69 73 20 6c |riority |and is l|
|00001b50| 69 6b 65 6c 79 20 74 6f | 20 6d 61 6b 65 20 69 74 |ikely to| make it|
|00001b60| 20 69 6e 20 61 20 66 75 | 74 75 72 65 20 72 65 6c | in a fu|ture rel|
|00001b70| 65 61 73 65 2c 20 62 75 | 74 20 61 74 20 74 68 65 |ease, bu|t at the|
|00001b80| 20 70 72 65 73 65 6e 74 | 20 74 68 65 72 65 20 69 | present| there i|
|00001b90| 73 20 6e 6f 20 6d 65 63 | 68 61 6e 69 73 6d 20 74 |s no mec|hanism t|
|00001ba0| 6f 20 64 6f 20 69 74 2e | 0d 53 74 61 74 75 73 20 |o do it.|.Status |
|00001bb0| 6f 66 20 72 6f 74 61 74 | 69 6e 67 20 6d 61 74 72 |of rotat|ing matr|
|00001bc0| 69 78 20 73 75 70 70 6f | 72 74 0d 57 72 69 74 74 |ix suppo|rt.Writt|
|00001bd0| 65 6e 3a 09 0d 4c 61 73 | 74 20 72 65 76 69 65 77 |en:..Las|t review|
|00001be0| 65 64 3a 09 0d 57 68 61 | 74 20 69 73 20 74 68 65 |ed:..Wha|t is the|
|00001bf0| 20 73 74 61 74 75 73 20 | 6f 66 20 52 6f 74 61 74 | status |of Rotat|
|00001c00| 65 4d 61 74 72 69 78 20 | 61 6e 64 20 69 74 73 20 |eMatrix |and its |
|00001c10| 75 73 65 20 77 69 74 68 | 20 53 65 74 4d 6f 76 69 |use with| SetMovi|
|00001c20| 65 4d 61 74 72 69 78 20 | 61 6e 64 20 53 65 74 54 |eMatrix |and SetT|
|00001c30| 72 61 63 6b 4d 61 74 72 | 69 78 3f 0d 5f 5f 5f 0d |rackMatr|ix?.___.|
|00001c40| 52 6f 74 61 74 65 4d 61 | 74 72 69 78 20 77 6f 72 |RotateMa|trix wor|
|00001c50| 6b 73 20 66 69 6e 65 2e | 20 42 75 74 20 72 6f 74 |ks fine.| But rot|
|00001c60| 61 74 69 6e 67 20 6d 61 | 74 72 69 78 65 73 20 61 |ating ma|trixes a|
|00001c70| 72 65 20 6e 6f 74 20 73 | 75 70 70 6f 72 74 65 64 |re not s|upported|
|00001c80| 20 66 6f 72 20 6d 6f 76 | 69 65 73 20 6f 72 20 69 | for mov|ies or i|
|00001c90| 6d 61 67 65 73 2e 20 53 | 6f 2c 20 61 6c 74 68 6f |mages. S|o, altho|
|00001ca0| 75 67 68 20 52 6f 74 61 | 74 65 4d 61 74 72 69 78 |ugh Rota|teMatrix|
|00001cb0| 20 77 69 6c 6c 20 67 69 | 76 65 20 79 6f 75 20 74 | will gi|ve you t|
|00001cc0| 68 65 20 63 6f 72 72 65 | 63 74 20 6d 61 74 68 65 |he corre|ct mathe|
|00001cd0| 6d 61 74 69 63 61 6c 20 | 72 65 73 75 6c 74 2c 20 |matical |result, |
|00001ce0| 75 6e 6c 65 73 73 20 79 | 6f 75 20 61 72 65 20 75 |unless y|ou are u|
|00001cf0| 73 69 6e 67 20 74 68 65 | 20 6d 61 74 72 69 78 20 |sing the| matrix |
|00001d00| 74 6f 20 74 72 61 6e 73 | 66 6f 72 6d 20 73 6f 6d |to trans|form som|
|00001d10| 65 74 68 69 6e 67 20 65 | 6c 73 65 20 28 61 73 20 |ething e|lse (as |
|00001d20| 77 69 74 68 20 54 72 61 | 6e 73 66 6f 72 6d 46 69 |with Tra|nsformFi|
|00001d30| 78 65 64 50 6f 69 6e 74 | 73 29 20 69 74 20 68 61 |xedPoint|s) it ha|
|00001d40| 73 20 6c 69 74 74 6c 65 | 20 75 73 65 2e 0d 52 6f |s little| use..Ro|
|00001d50| 74 61 74 69 6f 6e 20 69 | 73 20 61 20 76 65 72 79 |tation i|s a very|
|00001d60| 20 69 6d 70 6f 72 74 61 | 6e 74 20 66 75 74 75 72 | importa|nt futur|
|00001d70| 65 20 64 69 72 65 63 74 | 69 6f 6e 20 74 68 61 74 |e direct|ion that|
|00001d80| 20 77 69 6c 6c 20 67 65 | 74 20 6d 6f 72 65 20 61 | will ge|t more a|
|00001d90| 74 74 65 6e 74 69 6f 6e | 20 69 6e 20 74 68 65 20 |ttention| in the |
|00001da0| 66 75 74 75 72 65 2e 0d | 48 6f 77 20 74 6f 20 67 |future..|How to g|
|00001db0| 65 74 20 74 68 65 20 66 | 69 72 73 74 20 76 69 64 |et the f|irst vid|
|00001dc0| 65 6f 20 66 72 61 6d 65 | 0d 57 72 69 74 74 65 6e |eo frame|.Written|
|00001dd0| 3a 09 0d 4c 61 73 74 20 | 72 65 76 69 65 77 65 64 |:..Last |reviewed|
|00001de0| 3a 09 0d 53 74 65 70 70 | 69 6e 67 20 74 68 72 6f |:..Stepp|ing thro|
|00001df0| 75 67 68 20 51 75 69 63 | 6b 54 69 6d 65 20 6d 6f |ugh Quic|kTime mo|
|00001e00| 76 69 65 20 76 69 64 65 | 6f 20 66 72 61 6d 65 73 |vie vide|o frames|
|00001e10| 20 69 6e 20 74 68 65 20 | 6f 72 64 65 72 20 74 68 | in the |order th|
|00001e20| 65 79 20 61 70 70 65 61 | 72 20 69 6e 20 74 68 65 |ey appea|r in the|
|00001e30| 20 6d 6f 76 69 65 2e 69 | 73 20 73 69 6d 70 6c 65 | movie.i|s simple|
|00001e40| 20 75 73 69 6e 67 20 47 | 65 74 4d 6f 76 69 65 4e | using G|etMovieN|
|00001e50| 65 78 74 49 6e 74 65 72 | 65 73 74 69 6e 67 54 69 |extInter|estingTi|
|00001e60| 6d 65 2c 20 65 78 63 65 | 70 74 20 66 6f 72 20 67 |me, exce|pt for g|
|00001e70| 65 74 74 69 6e 67 20 74 | 68 65 20 66 69 72 73 74 |etting t|he first|
|00001e80| 20 66 72 61 6d 65 2e 20 | 49 66 20 49 20 73 65 74 | frame. |If I set|
|00001e90| 20 74 68 65 20 74 69 6d | 65 20 74 6f 20 7a 65 72 | the tim|e to zer|
|00001ea0| 6f 20 61 6e 64 20 72 61 | 74 65 20 74 6f 20 31 2c |o and ra|te to 1,|
|00001eb0| 20 74 68 65 6e 20 49 20 | 67 65 74 20 74 68 65 20 | then I |get the |
|00001ec0| 73 65 63 6f 6e 64 20 66 | 72 61 6d 65 2c 20 6e 6f |second f|rame, no|
|00001ed0| 74 20 74 68 65 20 66 69 | 72 73 74 2e 20 49 6e 20 |t the fi|rst. In |
|00001ee0| 61 64 64 69 74 69 6f 6e | 2c 20 74 68 65 20 76 69 |addition|, the vi|
|00001ef0| 64 65 6f 20 6d 61 79 20 | 73 74 61 72 74 20 6c 61 |deo may |start la|
|00001f00| 74 65 72 20 74 68 61 6e | 20 61 74 20 30 2e 20 48 |ter than| at 0. H|
|00001f10| 6f 77 20 64 6f 20 79 6f | 75 20 73 75 67 67 65 73 |ow do yo|u sugges|
|00001f20| 74 20 66 69 6e 64 69 6e | 67 20 74 68 69 73 20 66 |t findin|g this f|
|00001f30| 69 72 73 74 20 66 72 61 | 6d 65 20 6f 66 20 76 69 |irst fra|me of vi|
|00001f40| 64 65 6f 3f 0d 5f 5f 5f | 0d 54 6f 20 67 65 74 20 |deo?.___|.To get |
|00001f50| 74 68 65 20 66 69 72 73 | 74 20 66 72 61 6d 65 20 |the firs|t frame |
|00001f60| 69 6e 20 74 68 65 20 63 | 6f 6e 64 69 74 69 6f 6e |in the c|ondition|
|00001f70| 73 20 79 6f 75 20 64 65 | 73 63 72 69 62 65 20 79 |s you de|scribe y|
|00001f80| 6f 75 20 68 61 76 65 20 | 74 6f 20 70 61 73 73 20 |ou have |to pass |
|00001f90| 74 68 65 20 66 6c 61 67 | 20 6e 65 78 74 54 69 6d |the flag| nextTim|
|00001fa0| 65 45 64 67 65 4f 4b 20 | 3d 20 24 32 30 30 30 20 |eEdgeOK |= $2000 |
|00001fb0| 74 6f 20 47 65 74 4d 6f | 76 69 65 49 6e 74 65 72 |to GetMo|vieInter|
|00001fc0| 65 73 74 69 6e 67 54 69 | 6d 65 2e 20 57 68 61 74 |estingTi|me. What|
|00001fd0| 20 74 68 69 73 20 66 6c | 61 67 20 64 6f 65 73 20 | this fl|ag does |
|00001fe0| 69 73 20 74 6f 20 6d 61 | 6b 65 20 74 68 65 20 63 |is to ma|ke the c|
|00001ff0| 61 6c 6c 20 72 65 74 75 | 72 6e 20 74 68 65 20 63 |all retu|rn the c|
|00002000| 75 72 72 65 6e 74 20 69 | 6e 74 65 72 65 73 74 69 |urrent i|nteresti|
|00002010| 6e 67 20 74 69 6d 65 20 | 69 6e 73 74 65 61 64 20 |ng time |instead |
|00002020| 6f 66 20 74 68 65 20 6e | 65 78 74 2c 20 69 66 20 |of the n|ext, if |
|00002030| 74 68 65 20 63 75 72 72 | 65 6e 74 20 74 69 6d 65 |the curr|ent time|
|00002040| 20 69 73 20 61 6e 20 69 | 6e 74 65 72 65 73 74 69 | is an i|nteresti|
|00002050| 6e 67 20 74 69 6d 65 2e | 20 59 6f 75 20 6e 65 65 |ng time.| You nee|
|00002060| 64 20 74 6f 20 64 6f 20 | 74 68 69 73 20 73 69 6e |d to do |this sin|
|00002070| 63 65 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 77 |ce there| is no w|
|00002080| 61 79 20 74 6f 20 67 6f | 20 6e 65 67 61 74 69 76 |ay to go| negativ|
|00002090| 65 20 61 6e 64 20 74 68 | 65 6e 20 61 73 6b 20 66 |e and th|en ask f|
|000020a0| 6f 72 20 74 68 65 20 6e | 65 78 74 20 69 6e 74 65 |or the n|ext inte|
|000020b0| 72 65 73 74 69 6e 67 20 | 74 69 6d 65 2e 0d 51 75 |resting |time..Qu|
|000020c0| 69 63 6b 54 69 6d 65 20 | 69 6e 74 65 72 66 61 63 |ickTime |interfac|
|000020d0| 65 73 20 66 6f 72 20 54 | 68 69 6e 6b 20 50 61 73 |es for T|hink Pas|
|000020e0| 63 61 6c 0d 57 72 69 74 | 74 65 6e 3a 09 0d 4c 61 |cal.Writ|ten:..La|
|000020f0| 73 74 20 72 65 76 69 65 | 77 65 64 3a 09 0d 48 61 |st revie|wed:..Ha|
|00002100| 73 20 41 70 70 6c 65 20 | 63 72 65 61 74 65 64 20 |s Apple |created |
|00002110| 51 75 69 63 6b 54 69 6d | 65 20 68 65 61 64 65 72 |QuickTim|e header|
|00002120| 73 2f 69 6e 74 65 72 66 | 61 63 65 73 20 66 6f 72 |s/interf|aces for|
|00002130| 20 54 68 69 6e 6b 20 50 | 61 73 63 61 6c 3f 20 54 | Think P|ascal? T|
|00002140| 68 65 20 4d 50 57 20 50 | 61 73 63 61 6c 20 68 65 |he MPW P|ascal he|
|00002150| 61 64 65 72 73 20 64 6f | 6e d5 74 20 73 65 65 6d |aders do|n.t seem|
|00002160| 20 74 6f 20 62 65 20 63 | 6f 6d 70 61 74 69 62 6c | to be c|ompatibl|
|00002170| 65 2e 0d 5f 5f 5f 0d 54 | 68 65 72 65 20 61 72 65 |e..___.T|here are|
|00002180| 20 6e 6f 20 54 68 69 6e | 6b 20 50 61 73 63 61 6c | no Thin|k Pascal|
|00002190| 20 69 6e 74 65 72 66 61 | 63 65 73 2c 20 62 75 74 | interfa|ces, but|
|000021a0| 20 79 6f 75 72 20 50 61 | 73 63 61 6c 20 50 61 63 | your Pa|scal Pac|
|000021b0| 6b 61 67 65 20 63 6f 6d | 65 73 20 77 69 74 68 20 |kage com|es with |
|000021c0| 61 20 70 72 6f 67 72 61 | 6d 20 63 61 6c 6c 65 64 |a progra|m called|
|000021d0| 20 50 61 73 63 61 6c 20 | 53 6f 75 72 63 65 20 43 | Pascal |Source C|
|000021e0| 6f 6e 76 65 72 74 65 72 | 2c 20 77 68 69 63 68 20 |onverter|, which |
|000021f0| 63 6f 6e 76 65 72 74 73 | 20 4d 50 57 20 50 61 73 |converts| MPW Pas|
|00002200| 63 61 6c 20 73 6f 75 72 | 63 65 73 20 74 6f 20 54 |cal sour|ces to T|
|00002210| 68 69 6e 6b 2e 20 54 68 | 69 73 20 73 68 6f 75 6c |hink. Th|is shoul|
|00002220| 64 20 62 65 20 61 6c 6c | 20 79 6f 75 20 6e 65 65 |d be all| you nee|
|00002230| 64 20 74 6f 20 62 65 20 | 61 62 6c 65 20 74 6f 20 |d to be |able to |
|00002240| 75 73 65 20 74 68 65 20 | 70 72 6f 76 69 64 65 64 |use the |provided|
|00002250| 20 69 6e 74 65 72 66 61 | 63 65 73 20 77 69 74 68 | interfa|ces with|
|00002260| 20 79 6f 75 72 20 66 61 | 76 6f 72 69 74 65 20 64 | your fa|vorite d|
|00002270| 65 76 65 6c 6f 70 6d 65 | 6e 74 20 70 61 63 6b 61 |evelopme|nt packa|
|00002280| 67 65 2e 0d 53 74 61 6e | 64 61 72 64 20 63 6f 6e |ge..Stan|dard con|
|00002290| 74 72 6f 6c 6c 65 72 20 | 77 69 74 68 20 4d 43 43 |troller |with MCC|
|000022a0| 75 74 20 6f 72 20 4d 43 | 43 6c 65 61 72 0d 57 72 |ut or MC|Clear.Wr|
|000022b0| 69 74 74 65 6e 3a 09 0d | 4c 61 73 74 20 72 65 76 |itten:..|Last rev|
|000022c0| 69 65 77 65 64 3a 09 0d | 57 68 65 6e 20 49 20 73 |iewed:..|When I s|
|000022d0| 65 6c 65 63 74 20 61 6c | 6c 20 66 72 61 6d 65 73 |elect al|l frames|
|000022e0| 2c 20 74 68 65 6e 20 64 | 6f 20 61 6e 20 4d 43 43 |, then d|o an MCC|
|000022f0| 75 74 20 6f 72 20 4d 43 | 43 6c 65 61 72 2c 20 74 |ut or MC|Clear, t|
|00002300| 68 65 20 73 74 61 6e 64 | 61 72 64 20 63 6f 6e 74 |he stand|ard cont|
|00002310| 72 6f 6c 6c 65 72 20 67 | 65 74 73 20 6c 61 72 67 |roller g|ets larg|
|00002320| 65 72 20 61 6e 64 20 72 | 65 64 72 61 77 73 20 69 |er and r|edraws i|
|00002330| 74 73 65 6c 66 20 61 74 | 20 74 68 65 20 74 6f 70 |tself at| the top|
|00002340| 20 6f 66 20 74 68 65 20 | 6d 6f 76 69 65 2e 20 49 | of the |movie. I|
|00002350| 73 20 74 68 69 73 20 61 | 20 73 69 74 75 61 74 69 |s this a| situati|
|00002360| 6f 6e 20 49 20 73 68 6f | 75 6c 64 20 62 65 20 70 |on I sho|uld be p|
|00002370| 72 65 70 61 72 65 64 20 | 74 6f 20 68 61 6e 64 6c |repared |to handl|
|00002380| 65 20 6f 72 20 61 20 62 | 75 67 3f 20 44 6f 65 73 |e or a b|ug? Does|
|00002390| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 6c 65 72 20 | the con|troller |
|000023a0| 62 65 68 61 76 65 20 73 | 74 72 61 6e 67 65 6c 79 |behave s|trangely|
|000023b0| 20 77 68 65 6e 20 74 68 | 65 20 73 65 6c 65 63 74 | when th|e select|
|000023c0| 69 6f 6e 54 69 6d 65 20 | 6f 66 20 61 20 6d 6f 76 |ionTime |of a mov|
|000023d0| 69 65 20 69 73 20 2d 31 | 20 6f 72 20 77 68 65 6e |ie is -1| or when|
|000023e0| 20 74 68 65 20 64 75 72 | 61 74 69 6f 6e 20 6f 66 | the dur|ation of|
|000023f0| 20 74 68 65 20 6d 6f 76 | 69 65 20 69 73 20 30 3f | the mov|ie is 0?|
|00002400| 0d 5f 5f 5f 0d 54 68 65 | 20 62 65 68 61 76 69 6f |.___.The| behavio|
|00002410| 72 20 79 6f 75 20 61 72 | 65 20 6f 62 73 65 72 76 |r you ar|e observ|
|00002420| 69 6e 67 20 69 73 20 74 | 6f 20 62 65 20 65 78 70 |ing is t|o be exp|
|00002430| 65 63 74 65 64 20 69 66 | 20 74 68 65 20 63 6f 6e |ected if| the con|
|00002440| 74 72 6f 6c 6c 65 72 20 | 69 73 20 61 74 74 61 63 |troller |is attac|
|00002450| 68 65 64 20 74 6f 20 74 | 68 65 20 6d 6f 76 69 65 |hed to t|he movie|
|00002460| 2e 20 49 6e 20 74 68 69 | 73 20 63 61 73 65 2c 20 |. In thi|s case, |
|00002470| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 6c 65 72 20 67 |the cont|roller g|
|00002480| 6f 65 73 20 74 6f 20 77 | 68 65 72 65 76 65 72 20 |oes to w|herever |
|00002490| 74 68 65 20 62 6f 74 74 | 6f 6d 2d 6c 65 66 74 20 |the bott|om-left |
|000024a0| 63 6f 72 6e 65 72 20 6f | 66 20 74 68 65 20 6d 6f |corner o|f the mo|
|000024b0| 76 69 65 20 62 6f 78 20 | 74 61 6b 65 73 20 69 74 |vie box |takes it|
|000024c0| 2e 20 49 66 20 74 68 65 | 20 6d 6f 76 69 65 20 6c |. If the| movie l|
|000024d0| 6f 73 65 73 20 61 6c 6c | 20 6f 66 20 69 74 73 20 |oses all| of its |
|000024e0| d2 76 69 73 69 62 6c 65 | d3 20 70 61 72 74 73 2c |.visible|. parts,|
|000024f0| 20 74 68 65 20 6d 6f 76 | 69 65 20 63 6f 6e 74 72 | the mov|ie contr|
|00002500| 6f 6c 6c 65 72 20 77 69 | 6c 6c 20 6a 75 6d 70 20 |oller wi|ll jump |
|00002510| 74 6f 20 74 68 65 20 74 | 6f 70 20 6f 66 20 74 68 |to the t|op of th|
|00002520| 65 20 77 69 6e 64 6f 77 | 2e 0d 54 68 65 20 6f 6e |e window|..The on|
|00002530| 6c 79 20 77 61 79 20 74 | 6f 20 67 65 74 20 61 72 |ly way t|o get ar|
|00002540| 6f 75 6e 64 20 74 68 69 | 73 20 69 73 20 74 6f 20 |ound thi|s is to |
|00002550| 64 65 74 61 63 68 20 74 | 68 65 20 63 6f 6e 74 72 |detach t|he contr|
|00002560| 6f 6c 6c 65 72 20 77 68 | 65 6e 20 74 68 65 20 6d |oller wh|en the m|
|00002570| 6f 76 69 65 20 62 6f 78 | 20 69 73 20 65 6d 70 74 |ovie box| is empt|
|00002580| 79 3b 20 74 68 69 73 20 | 69 73 20 61 6c 73 6f 20 |y; this |is also |
|00002590| 73 6f 6d 65 74 68 69 6e | 67 20 74 6f 20 6b 65 65 |somethin|g to kee|
|000025a0| 70 20 69 6e 20 6d 69 6e | 64 20 66 6f 72 20 74 68 |p in min|d for th|
|000025b0| 65 20 63 61 73 65 73 20 | 77 68 65 6e 20 74 68 65 |e cases |when the|
|000025c0| 20 6d 6f 76 69 65 20 63 | 6f 6e 74 61 69 6e 73 20 | movie c|ontains |
|000025d0| 6f 6e 6c 79 20 73 6f 75 | 6e 64 2c 20 73 69 6e 63 |only sou|nd, sinc|
|000025e0| 65 20 70 75 72 65 20 73 | 6f 75 6e 64 20 6d 6f 76 |e pure s|ound mov|
|000025f0| 69 65 73 20 68 61 76 65 | 20 6e 6f 20 64 69 6d 65 |ies have| no dime|
|00002600| 6e 73 69 6f 6e 73 2e 0d | 51 75 69 63 6b 54 69 6d |nsions..|QuickTim|
|00002610| 65 20 61 6e 64 20 73 6f | 75 6e 64 20 63 68 61 6e |e and so|und chan|
|00002620| 6e 65 6c 20 64 65 61 6c | 6c 6f 63 61 74 69 6f 6e |nel deal|location|
|00002630| 0d 57 72 69 74 74 65 6e | 3a 09 0d 4c 61 73 74 20 |.Written|:..Last |
|00002640| 72 65 76 69 65 77 65 64 | 3a 09 0d 4f 75 72 20 51 |reviewed|:..Our Q|
|00002650| 75 69 63 6b 54 69 6d 65 | 20 61 70 70 6c 69 63 61 |uickTime| applica|
|00002660| 74 69 6f 6e 20 67 65 74 | 73 20 61 20 53 6f 75 6e |tion get|s a Soun|
|00002670| 64 20 4d 61 6e 61 67 65 | 72 20 65 72 72 6f 72 20 |d Manage|r error |
|00002680| 2d 32 30 31 20 61 66 74 | 65 72 20 70 6c 61 79 69 |-201 aft|er playi|
|00002690| 6e 67 20 6d 6f 76 69 65 | 73 20 69 6e 20 73 75 63 |ng movie|s in suc|
|000026a0| 63 65 73 73 69 6f 6e 2c | 20 61 70 70 61 72 65 6e |cession,| apparen|
|000026b0| 74 6c 79 20 62 65 63 61 | 75 73 65 20 73 6f 75 6e |tly beca|use soun|
|000026c0| 64 20 63 68 61 6e 6e 65 | 6c 73 20 75 73 65 64 20 |d channe|ls used |
|000026d0| 69 6e 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |in the p|revious |
|000026e0| 6d 6f 76 69 65 73 20 68 | 61 76 65 20 6e 6f 74 20 |movies h|ave not |
|000026f0| 62 65 65 6e 20 72 65 63 | 6c 61 69 6d 65 64 2e 20 |been rec|laimed. |
|00002700| 48 6f 77 20 64 6f 65 73 | 20 51 75 69 63 6b 54 69 |How does| QuickTi|
|00002710| 6d 65 20 64 65 63 69 64 | 65 20 74 6f 20 64 65 61 |me decid|e to dea|
|00002720| 6c 6c 6f 63 61 74 65 20 | 73 6f 75 6e 64 20 63 68 |llocate |sound ch|
|00002730| 61 6e 6e 65 6c 73 3f 20 | 49 74 20 64 6f 65 73 6e |annels? |It doesn|
|00002740| d5 74 20 73 65 65 6d 20 | 74 6f 20 68 61 70 70 65 |.t seem |to happe|
|00002750| 6e 20 69 6e 20 6d 79 20 | d2 77 68 69 6c 65 20 28 |n in my |.while (|
|00002760| 21 49 73 4d 6f 76 69 65 | 44 6f 6e 65 28 74 68 65 |!IsMovie|Done(the|
|00002770| 4d 6f 76 69 65 29 20 26 | 26 20 21 42 75 74 74 6f |Movie) &|& !Butto|
|00002780| 6e 28 29 29 5f 22 5f 20 | 70 6c 61 79 20 6c 6f 6f |n())_"_ |play loo|
|00002790| 70 2e 0d 5f 5f 5f 0d 53 | 6f 75 6e 64 20 63 68 61 |p..___.S|ound cha|
|000027a0| 6e 6e 65 6c 73 20 61 72 | 65 20 72 65 6c 65 61 73 |nnels ar|e releas|
|000027b0| 65 64 20 62 79 20 61 63 | 74 69 76 65 20 6d 6f 76 |ed by ac|tive mov|
|000027c0| 69 65 73 20 77 68 65 6e | 20 74 68 65 79 20 6e 6f |ies when| they no|
|000027d0| 74 69 63 65 20 74 68 61 | 74 20 73 6f 6d 65 20 6f |tice tha|t some o|
|000027e0| 74 68 65 72 20 6d 6f 76 | 69 65 20 6e 65 65 64 73 |ther mov|ie needs|
|000027f0| 20 74 68 65 6d 2e 20 54 | 68 69 73 20 69 73 20 63 | them. T|his is c|
|00002800| 75 72 72 65 6e 74 6c 79 | 20 6f 6e 6c 79 20 64 6f |urrently| only do|
|00002810| 6e 65 20 61 74 20 4d 6f | 76 69 65 73 54 61 73 6b |ne at Mo|viesTask|
|00002820| 20 74 69 6d 65 2e 20 42 | 65 66 6f 72 65 20 65 6e | time. B|efore en|
|00002830| 74 65 72 69 6e 67 20 79 | 6f 75 72 20 6c 6f 6f 70 |tering y|our loop|
|00002840| 20 74 6f 20 70 6c 61 79 | 20 61 20 73 69 6e 67 6c | to play| a singl|
|00002850| 65 20 6d 6f 76 69 65 2c | 20 79 6f 75 20 63 61 6e |e movie,| you can|
|00002860| 20 64 6f 20 6f 6e 65 20 | 6f 72 20 62 6f 74 68 20 | do one |or both |
|00002870| 6f 66 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |of the f|ollowing|
|00002880| 3a 0d a5 20 50 72 65 72 | 6f 6c 6c 20 74 68 65 20 |:.. Prer|oll the |
|00002890| 6d 6f 76 69 65 20 79 6f | 75 20 61 72 65 20 61 62 |movie yo|u are ab|
|000028a0| 6f 75 74 20 74 6f 20 70 | 6c 61 79 20 61 6e 64 20 |out to p|lay and |
|000028b0| 63 68 65 63 6b 20 74 68 | 65 20 65 72 72 6f 72 2e |check th|e error.|
|000028c0| 20 49 66 20 70 72 65 72 | 6f 6c 6c 20 72 65 74 75 | If prer|oll retu|
|000028d0| 72 6e 73 20 2d 32 30 31 | 20 74 68 65 6e 20 64 6f |rns -201| then do|
|000028e0| 20 61 20 4d 6f 76 69 65 | 73 54 61 73 6b 28 30 2c | a Movie|sTask(0,|
|000028f0| 30 29 20 74 6f 20 67 69 | 76 65 20 74 68 65 20 6f |0) to gi|ve the o|
|00002900| 74 68 65 72 20 61 63 74 | 69 76 65 20 6d 6f 76 69 |ther act|ive movi|
|00002910| 65 73 20 61 20 63 68 61 | 6e 63 65 20 74 6f 20 67 |es a cha|nce to g|
|00002920| 69 76 65 20 75 70 20 74 | 68 65 69 72 20 73 6f 75 |ive up t|heir sou|
|00002930| 6e 64 20 63 68 61 6e 6e | 65 6c 73 2e 20 41 20 73 |nd chann|els. A s|
|00002940| 75 62 73 65 71 75 65 6e | 74 20 70 72 65 72 6f 6c |ubsequen|t prerol|
|00002950| 6c 20 6f 66 20 74 68 65 | 4d 6f 76 69 65 20 73 68 |l of the|Movie sh|
|00002960| 6f 75 6c 64 20 72 65 74 | 75 72 6e 20 6e 6f 45 72 |ould ret|urn noEr|
|00002970| 72 2e 0d a5 20 53 65 74 | 4d 6f 76 69 65 41 63 74 |r... Set|MovieAct|
|00002980| 69 76 65 28 6f 74 68 65 | 72 6d 6f 76 69 65 73 2c |ive(othe|rmovies,|
|00002990| 20 66 61 6c 73 65 29 2e | 20 44 65 61 63 74 69 76 | false).| Deactiv|
|000029a0| 61 74 65 20 74 68 65 20 | 6d 6f 76 69 65 73 20 74 |ate the |movies t|
|000029b0| 68 61 74 20 79 6f 75 20 | 61 72 65 6e d5 74 20 70 |hat you |aren.t p|
|000029c0| 6c 61 79 69 6e 67 20 74 | 6f 20 66 6f 72 63 65 20 |laying t|o force |
|000029d0| 74 68 65 6d 20 74 6f 20 | 67 69 76 65 20 75 70 20 |them to |give up |
|000029e0| 74 68 65 69 72 20 72 65 | 73 6f 75 72 63 65 73 2e |their re|sources.|
|000029f0| 0d 43 6c 69 70 70 69 6e | 67 20 51 75 69 63 6b 54 |.Clippin|g QuickT|
|00002a00| 69 6d 65 20 6d 6f 76 69 | 65 20 70 6f 73 74 65 72 |ime movi|e poster|
|00002a10| 73 0d 57 72 69 74 74 65 | 6e 3a 09 0d 4c 61 73 74 |s.Writte|n:..Last|
|00002a20| 20 72 65 76 69 65 77 65 | 64 3a 09 0d 4f 75 72 20 | reviewe|d:..Our |
|00002a30| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 75 73 65 73 |applicat|ion uses|
|00002a40| 20 74 68 65 20 6d 6f 76 | 69 65 20 70 6f 73 74 65 | the mov|ie poste|
|00002a50| 72 20 61 73 20 61 20 73 | 74 69 6c 6c 20 66 72 61 |r as a s|till fra|
|00002a60| 6d 65 20 69 6e 20 61 20 | 63 65 6c 6c 2c 20 73 69 |me in a |cell, si|
|00002a70| 6d 69 6c 61 72 20 74 6f | 20 75 73 69 6e 67 20 61 |milar to| using a|
|00002a80| 20 50 49 43 54 2e 20 49 | 66 20 61 20 75 73 65 72 | PICT. I|f a user|
|00002a90| 20 73 69 7a 65 73 20 74 | 68 65 20 63 65 6c 6c 20 | sizes t|he cell |
|00002aa0| 77 69 64 74 68 20 73 6f | 20 69 74 d5 73 20 6e 61 |width so| it.s na|
|00002ab0| 72 72 6f 77 65 72 20 74 | 68 61 6e 20 74 68 65 20 |rrower t|han the |
|00002ac0| 70 6f 73 74 65 72 2c 20 | 65 76 65 6e 20 74 68 6f |poster, |even tho|
|00002ad0| 75 67 68 20 77 65 20 63 | 6c 69 70 20 74 68 65 20 |ugh we c|lip the |
|00002ae0| 64 72 61 77 69 6e 67 20 | 74 6f 20 74 68 65 20 63 |drawing |to the c|
|00002af0| 65 6c 6c 20 73 69 7a 65 | 2c 20 51 75 69 63 6b 54 |ell size|, QuickT|
|00002b00| 69 6d 65 20 70 6f 73 74 | 65 72 73 20 64 72 61 77 |ime post|ers draw|
|00002b10| 20 74 68 65 69 72 20 66 | 75 6c 6c 20 77 69 64 74 | their f|ull widt|
|00002b20| 68 2c 20 77 72 69 74 69 | 6e 67 20 6f 76 65 72 20 |h, writi|ng over |
|00002b30| 77 68 61 74 65 76 65 72 | 20 69 73 20 69 6e 20 74 |whatever| is in t|
|00002b40| 68 65 20 77 61 79 2e 20 | 50 69 63 74 75 72 65 73 |he way. |Pictures|
|00002b50| 20 63 6c 69 70 20 74 68 | 72 6f 75 67 68 20 44 72 | clip th|rough Dr|
|00002b60| 61 77 50 69 63 74 75 72 | 65 3b 20 77 68 79 20 64 |awPictur|e; why d|
|00002b70| 6f 65 73 6e d5 74 20 53 | 68 6f 77 4d 6f 76 69 65 |oesn.t S|howMovie|
|00002b80| 50 6f 73 74 65 72 20 73 | 74 61 79 20 77 69 74 68 |Poster s|tay with|
|00002b90| 69 6e 20 63 6c 69 70 20 | 72 65 67 69 6f 6e 3f 0d |in clip |region?.|
|00002ba0| 5f 5f 5f 0d 53 68 6f 77 | 4d 6f 76 69 65 50 6f 73 |___.Show|MoviePos|
|00002bb0| 74 65 72 2c 20 61 73 20 | 77 65 6c 6c 20 61 73 20 |ter, as |well as |
|00002bc0| 74 68 65 20 6d 6f 76 69 | 65 20 61 6e 64 20 70 72 |the movi|e and pr|
|00002bd0| 65 76 69 65 77 20 73 68 | 6f 77 69 6e 67 20 63 61 |eview sh|owing ca|
|00002be0| 6c 6c 73 2c 20 75 73 65 | 73 20 74 68 65 20 6d 6f |lls, use|s the mo|
|00002bf0| 76 69 65 20 63 6c 69 70 | 70 69 6e 67 20 63 68 61 |vie clip|ping cha|
|00002c00| 72 61 63 74 65 72 69 73 | 74 69 63 73 20 72 61 74 |racteris|tics rat|
|00002c10| 68 65 72 20 74 68 61 6e | 20 74 68 65 20 64 65 73 |her than| the des|
|00002c20| 74 69 6e 61 74 69 6f 6e | 20 70 6f 72 74 20 63 6c |tination| port cl|
|00002c30| 69 70 72 67 6e 2e 20 59 | 6f 75 20 6d 75 73 74 20 |iprgn. Y|ou must |
|00002c40| 73 65 74 20 74 68 65 20 | 6d 6f 76 69 65 d5 73 20 |set the |movie.s |
|00002c50| 63 6c 69 70 20 74 6f 20 | 6f 62 74 61 69 6e 20 74 |clip to |obtain t|
|00002c60| 68 65 20 72 65 73 75 6c | 74 73 20 79 6f 75 20 77 |he resul|ts you w|
|00002c70| 61 6e 74 2e 20 41 6e 20 | 65 61 73 69 65 72 20 77 |ant. An |easier w|
|00002c80| 61 79 20 74 6f 20 64 6f | 20 74 68 69 73 20 69 73 |ay to do| this is|
|00002c90| 20 74 6f 20 67 65 74 20 | 74 68 65 20 70 69 63 74 | to get |the pict|
|00002ca0| 75 72 65 20 66 6f 72 20 | 74 68 65 20 70 6f 73 74 |ure for |the post|
|00002cb0| 65 72 2c 20 62 79 20 63 | 61 6c 6c 69 6e 67 20 47 |er, by c|alling G|
|00002cc0| 65 74 4d 6f 76 69 65 50 | 6f 73 74 65 72 50 69 63 |etMovieP|osterPic|
|00002cd0| 74 2c 20 61 6e 64 20 74 | 68 65 6e 20 73 69 6d 70 |t, and t|hen simp|
|00002ce0| 6c 79 20 75 73 65 20 44 | 72 61 77 50 69 63 74 75 |ly use D|rawPictu|
|00002cf0| 72 65 20 74 6f 20 64 69 | 73 70 6c 61 79 20 74 68 |re to di|splay th|
|00002d00| 65 20 70 6f 73 74 65 72 | 2e 20 42 65 63 61 75 73 |e poster|. Becaus|
|00002d10| 65 20 74 68 69 73 20 69 | 73 20 6a 75 73 74 20 61 |e this i|s just a|
|00002d20| 20 70 69 63 74 75 72 65 | 2c 20 74 68 65 20 63 6c | picture|, the cl|
|00002d30| 69 70 20 72 65 67 69 6f | 6e 20 6f 66 20 74 68 65 |ip regio|n of the|
|00002d40| 20 70 6f 72 74 20 69 73 | 20 68 6f 6e 6f 72 65 64 | port is| honored|
|00002d50| 2e 20 54 68 69 73 20 77 | 61 79 20 79 6f 75 20 64 |. This w|ay you d|
|00002d60| 6f 6e d5 74 20 6e 65 65 | 64 20 64 69 66 66 65 72 |on.t nee|d differ|
|00002d70| 65 6e 74 20 63 6f 64 65 | 20 66 6f 72 20 6d 6f 76 |ent code| for mov|
|00002d80| 69 65 73 20 61 6e 64 20 | 70 69 63 74 75 72 65 73 |ies and |pictures|
|00002d90| 2e 0d 50 75 74 4d 6f 76 | 69 65 49 6e 74 6f 48 61 |..PutMov|ieIntoHa|
|00002da0| 6e 64 6c 65 20 61 6e 64 | 20 64 61 74 61 20 66 6f |ndle and| data fo|
|00002db0| 72 6b 73 0d 57 72 69 74 | 74 65 6e 3a 09 0d 4c 61 |rks.Writ|ten:..La|
|00002dc0| 73 74 20 72 65 76 69 65 | 77 65 64 3a 09 0d 49 20 |st revie|wed:..I |
|00002dd0| 73 61 76 65 20 50 49 43 | 54 73 20 74 6f 20 6d 79 |save PIC|Ts to my|
|00002de0| 20 64 6f 63 75 6d 65 6e | 74 d5 73 20 64 61 74 61 | documen|t.s data|
|00002df0| 20 66 6f 72 6b 20 62 79 | 20 77 72 69 74 69 6e 67 | fork by| writing|
|00002e00| 20 74 68 65 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 | the con|tents of|
|00002e10| 20 74 68 65 20 50 69 63 | 48 61 6e 64 6c 65 2e 20 | the Pic|Handle. |
|00002e20| 54 6f 20 73 61 76 65 20 | 6d 6f 76 69 65 73 2c 20 |To save |movies, |
|00002e30| 64 6f 20 49 20 63 6f 6e | 76 65 72 74 20 74 68 65 |do I con|vert the|
|00002e40| 20 6d 6f 76 69 65 20 74 | 6f 20 61 20 68 61 6e 64 | movie t|o a hand|
|00002e50| 6c 65 2c 20 61 6e 64 20 | 74 68 65 6e 20 73 61 76 |le, and |then sav|
|00002e60| 65 20 74 68 61 74 20 6c | 69 6b 65 20 49 20 77 6f |e that l|ike I wo|
|00002e70| 75 6c 64 20 77 69 74 68 | 20 50 49 43 54 73 3f 20 |uld with| PICTs? |
|00002e80| 49 20 6a 75 73 74 20 77 | 61 6e 74 20 74 68 65 20 |I just w|ant the |
|00002e90| 66 69 6c 65 20 72 65 66 | 65 72 65 6e 63 65 73 2c |file ref|erences,|
|00002ea0| 20 6e 6f 74 20 74 68 65 | 20 64 61 74 61 20 69 74 | not the| data it|
|00002eb0| 73 65 6c 66 2e 0d 5f 5f | 5f 0d 54 6f 20 73 61 76 |self..__|_.To sav|
|00002ec0| 65 20 6d 6f 76 69 65 73 | 20 74 68 61 74 20 61 72 |e movies| that ar|
|00002ed0| 65 20 73 75 69 74 61 62 | 6c 65 20 66 6f 72 20 73 |e suitab|le for s|
|00002ee0| 74 6f 72 61 67 65 20 69 | 6e 20 61 20 66 69 6c 65 |torage i|n a file|
|00002ef0| 2c 20 75 73 65 20 50 75 | 74 4d 6f 76 69 65 49 6e |, use Pu|tMovieIn|
|00002f00| 74 6f 48 61 6e 64 6c 65 | 2e 20 54 68 65 20 72 65 |toHandle|. The re|
|00002f10| 73 75 6c 74 20 6f 66 20 | 74 68 69 73 20 63 61 6c |sult of |this cal|
|00002f20| 6c 20 63 61 6e 20 74 68 | 65 6e 20 62 65 20 73 61 |l can th|en be sa|
|00002f30| 76 65 64 20 69 6e 20 74 | 68 65 20 64 61 74 61 20 |ved in t|he data |
|00002f40| 66 6f 72 6b 20 6f 66 20 | 79 6f 75 72 20 66 69 6c |fork of |your fil|
|00002f50| 65 73 2c 20 61 6e 64 20 | 74 68 65 6e 20 79 6f 75 |es, and |then you|
|00002f60| 20 63 61 6e 20 63 61 6c | 6c 20 4e 65 77 4d 6f 76 | can cal|l NewMov|
|00002f70| 69 65 46 72 6f 6d 48 61 | 6e 64 6c 65 20 74 6f 20 |ieFromHa|ndle to |
|00002f80| 72 65 63 6f 6e 73 74 72 | 75 63 74 20 74 68 65 20 |reconstr|uct the |
|00002f90| 6d 6f 76 69 65 20 66 6f | 72 20 70 6c 61 79 62 61 |movie fo|r playba|
|00002fa0| 63 6b 20 6f 72 20 65 64 | 69 74 69 6e 67 2e 0d 59 |ck or ed|iting..Y|
|00002fb0| 6f 75 20 73 68 6f 75 6c | 64 20 61 6c 73 6f 20 72 |ou shoul|d also r|
|00002fc0| 65 61 64 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |ead the |document|
|00002fd0| 61 74 69 6f 6e 20 72 65 | 67 61 72 64 69 6e 67 20 |ation re|garding |
|00002fe0| 4d 6f 76 69 65 20 54 6f | 6f 6c 62 6f 78 20 46 6c |Movie To|olbox Fl|
|00002ff0| 61 74 74 65 6e 4d 6f 76 | 69 65 2c 20 77 68 69 63 |attenMov|ie, whic|
|00003000| 68 20 63 72 65 61 74 65 | 73 20 61 20 66 69 6c 65 |h create|s a file|
|00003010| 20 74 68 61 74 20 63 6f | 6e 74 61 69 6e 73 20 74 | that co|ntains t|
|00003020| 68 65 20 27 6d 6f 6f 76 | 27 20 72 65 73 6f 75 72 |he 'moov|' resour|
|00003030| 63 65 20 61 6e 64 20 74 | 68 65 20 64 61 74 61 20 |ce and t|he data |
|00003040| 61 6c 6c 20 69 6e 20 74 | 68 65 20 64 61 74 61 20 |all in t|he data |
|00003050| 66 6f 72 6b 2e 20 54 68 | 65 20 61 64 76 61 6e 74 |fork. Th|e advant|
|00003060| 61 67 65 20 68 65 72 65 | 20 69 73 20 74 68 61 74 |age here| is that|
|00003070| 20 74 68 65 20 6d 6f 76 | 69 65 20 66 69 6c 65 20 | the mov|ie file |
|00003080| 79 6f 75 20 63 72 65 61 | 74 65 20 75 73 69 6e 67 |you crea|te using|
|00003090| 20 46 6c 61 74 74 65 6e | 4d 6f 76 69 65 20 63 61 | Flatten|Movie ca|
|000030a0| 6e 20 62 65 20 72 65 61 | 64 20 62 79 20 61 6e 79 |n be rea|d by any|
|000030b0| 20 6f 74 68 65 72 20 51 | 75 69 63 6b 54 69 6d 65 | other Q|uickTime|
|000030c0| 2d 63 61 70 61 62 6c 65 | 20 61 70 70 6c 69 63 61 |-capable| applica|
|000030d0| 74 69 6f 6e 2e 0d 53 65 | 74 4d 6f 76 69 65 52 61 |tion..Se|tMovieRa|
|000030e0| 74 65 20 61 6e 64 20 63 | 6f 6e 74 72 6f 6c 6c 69 |te and c|ontrolli|
|000030f0| 6e 67 20 6d 6f 76 69 65 | 20 70 6c 61 79 62 61 63 |ng movie| playbac|
|00003100| 6b 20 72 61 74 65 0d 57 | 72 69 74 74 65 6e 3a 09 |k rate.W|ritten:.|
|00003110| 0d 4c 61 73 74 20 72 65 | 76 69 65 77 65 64 3a 09 |.Last re|viewed:.|
|00003120| 0d 51 75 69 63 6b 54 69 | 6d 65 20 69 73 20 61 20 |.QuickTi|me is a |
|00003130| 6a 6f 79 21 20 42 75 74 | 20 49 d5 76 65 20 72 75 |joy! But| I.ve ru|
|00003140| 6e 20 61 67 72 6f 75 6e | 64 20 77 69 74 68 20 53 |n agroun|d with S|
|00003150| 65 74 4d 6f 76 69 65 52 | 61 74 65 2e 20 49 20 61 |etMovieR|ate. I a|
|00003160| 6d 20 74 72 79 69 6e 67 | 20 74 6f 20 63 68 61 6e |m trying| to chan|
|00003170| 67 65 20 74 68 65 20 72 | 61 74 65 20 61 74 20 77 |ge the r|ate at w|
|00003180| 68 69 63 68 20 61 20 6d | 6f 76 69 65 20 70 6c 61 |hich a m|ovie pla|
|00003190| 79 73 20 62 61 63 6b 2c | 20 62 75 74 20 69 66 20 |ys back,| but if |
|000031a0| 49 20 63 61 6c 6c 20 53 | 65 74 4d 6f 76 69 65 52 |I call S|etMovieR|
|000031b0| 61 74 65 20 74 68 65 20 | 6d 6f 76 69 65 20 73 74 |ate the |movie st|
|000031c0| 61 72 74 73 20 70 6c 61 | 79 69 6e 67 20 69 6d 6d |arts pla|ying imm|
|000031d0| 65 64 69 61 74 65 6c 79 | 2c 20 74 68 65 20 63 6f |ediately|, the co|
|000031e0| 6e 74 72 6f 6c 6c 65 72 | 20 67 6f 65 73 20 77 69 |ntroller| goes wi|
|000031f0| 6c 64 20 61 6e 64 20 74 | 68 65 20 6e 65 78 74 20 |ld and t|he next |
|00003200| 74 69 6d 65 20 49 20 68 | 69 74 20 74 68 65 20 70 |time I h|it the p|
|00003210| 6c 61 79 20 62 75 74 74 | 6f 6e 20 69 74 20 69 67 |lay butt|on it ig|
|00003220| 6e 6f 72 65 73 20 74 68 | 65 20 70 72 65 76 69 6f |nores th|e previo|
|00003230| 75 73 20 72 61 74 65 2e | 0d 5f 5f 5f 0d 53 65 74 |us rate.|.___.Set|
|00003240| 4d 6f 76 69 65 52 61 74 | 65 20 74 61 6b 65 73 20 |MovieRat|e takes |
|00003250| 65 66 66 65 63 74 20 69 | 6d 6d 65 64 69 61 74 65 |effect i|mmediate|
|00003260| 6c 79 3b 20 74 68 61 74 | d5 73 20 77 68 79 20 74 |ly; that|.s why t|
|00003270| 68 65 20 6d 6f 76 69 65 | 20 73 74 61 72 74 73 20 |he movie| starts |
|00003280| 70 6c 61 79 69 6e 67 20 | 61 73 20 73 6f 6f 6e 20 |playing |as soon |
|00003290| 61 73 20 79 6f 75 20 6d | 61 6b 65 20 74 68 65 20 |as you m|ake the |
|000032a0| 63 61 6c 6c 2c 20 77 69 | 74 68 20 61 20 72 61 74 |call, wi|th a rat|
|000032b0| 65 20 6f 74 68 65 72 20 | 74 68 61 6e 20 7a 65 72 |e other |than zer|
|000032c0| 6f 2e 20 41 6c 73 6f 2c | 20 63 61 6c 6c 69 6e 67 |o. Also,| calling|
|000032d0| 20 53 65 74 4d 6f 76 69 | 65 52 61 74 65 20 62 65 | SetMovi|eRate be|
|000032e0| 68 69 6e 64 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c |hind the| control|
|000032f0| 6c 65 72 d5 73 20 62 61 | 63 6b 20 63 61 6e 20 6f |ler.s ba|ck can o|
|00003300| 6e 6c 79 20 63 61 75 73 | 65 20 63 6f 6e 66 75 73 |nly caus|e confus|
|00003310| 69 6f 6e 20 62 65 63 61 | 75 73 65 20 79 6f 75 20 |ion beca|use you |
|00003320| 61 72 65 20 63 68 61 6e | 67 69 6e 67 20 74 68 65 |are chan|ging the|
|00003330| 20 73 74 61 74 65 20 6f | 66 20 74 68 65 20 6d 6f | state o|f the mo|
|00003340| 76 69 65 20 77 69 74 68 | 6f 75 74 20 6c 65 74 74 |vie with|out lett|
|00003350| 69 6e 67 20 74 68 65 20 | 6d 6f 76 69 65 20 63 6f |ing the |movie co|
|00003360| 6e 74 72 6f 6c 6c 65 72 | 20 6b 6e 6f 77 20 61 62 |ntroller| know ab|
|00003370| 6f 75 74 20 74 68 65 20 | 63 68 61 6e 67 65 2e 20 |out the |change. |
|00003380| 4e 6f 74 65 20 74 68 61 | 74 20 69 6e 20 6e 6f 72 |Note tha|t in nor|
|00003390| 6d 61 6c 20 6f 70 65 72 | 61 74 69 6f 6e 20 74 68 |mal oper|ation th|
|000033a0| 65 20 6d 6f 76 69 65 20 | 63 6f 6e 74 72 6f 6c 6c |e movie |controll|
|000033b0| 65 72 20 70 6c 61 79 73 | 20 62 61 63 6b 20 6d 6f |er plays| back mo|
|000033c0| 76 69 65 73 20 61 74 20 | 74 68 65 20 73 74 61 6e |vies at |the stan|
|000033d0| 64 61 72 64 20 73 70 65 | 65 64 2c 20 72 61 74 65 |dard spe|ed, rate|
|000033e0| 20 3d 20 31 3b 20 74 68 | 69 73 20 69 73 20 74 68 | = 1; th|is is th|
|000033f0| 65 20 63 75 72 72 65 6e | 74 20 62 65 68 61 76 69 |e curren|t behavi|
|00003400| 6f 72 2e 20 49 74 20 69 | 73 20 70 6f 73 73 69 62 |or. It i|s possib|
|00003410| 6c 65 20 74 68 61 74 20 | 69 6e 20 61 20 66 75 74 |le that |in a fut|
|00003420| 75 72 65 20 72 65 6c 65 | 61 73 65 20 74 68 65 20 |ure rele|ase the |
|00003430| 6d 6f 76 69 65 20 63 6f | 6e 74 72 6f 6c 6c 65 72 |movie co|ntroller|
|00003440| 20 77 69 6c 6c 20 75 73 | 65 20 74 68 65 20 72 61 | will us|e the ra|
|00003450| 74 65 20 74 68 65 20 6d | 6f 76 69 65 20 77 61 73 |te the m|ovie was|
|00003460| 20 73 61 76 65 64 20 77 | 69 74 68 20 6f 72 20 74 | saved w|ith or t|
|00003470| 68 65 20 6f 6e 65 20 73 | 65 74 20 77 69 74 68 20 |he one s|et with |
|00003480| 53 65 74 50 72 65 66 65 | 72 72 65 64 4d 6f 76 69 |SetPrefe|rredMovi|
|00003490| 65 52 61 74 65 2e 20 0d | 41 20 6c 69 74 74 6c 65 |eRate. .|A little|
|000034a0| 20 6b 6e 6f 77 6e 20 66 | 61 63 74 20 69 73 20 74 | known f|act is t|
|000034b0| 68 61 74 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 |hat the |standard|
|000034c0| 20 63 6f 6e 74 72 6f 6c | 6c 65 72 20 64 6f 65 73 | control|ler does|
|000034d0| 20 63 6f 6e 74 61 69 6e | 20 61 20 70 72 69 6d 69 | contain| a primi|
|000034e0| 74 69 76 65 20 6d 65 63 | 68 61 6e 69 73 6d 20 66 |tive mec|hanism f|
|000034f0| 6f 72 20 63 6f 6e 74 72 | 6f 6c 6c 69 6e 67 20 74 |or contr|olling t|
|00003500| 68 65 20 72 61 74 65 20 | 6f 66 20 70 6c 61 79 62 |he rate |of playb|
|00003510| 61 63 6b 2e 20 49 66 20 | 79 6f 75 20 68 6f 6c 64 |ack. If |you hold|
|00003520| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 20 6b 65 79 | the con|trol key|
|00003530| 20 64 6f 77 6e 20 61 6e | 64 20 74 68 65 6e 20 63 | down an|d then c|
|00003540| 6c 69 63 6b 20 74 68 65 | 20 6d 6f 75 73 65 20 6f |lick the| mouse o|
|00003550| 76 65 72 20 74 68 65 20 | 73 74 65 70 70 69 6e 67 |ver the |stepping|
|00003560| 20 62 75 74 74 6f 6e 73 | 2c 20 79 6f 75 20 63 61 | buttons|, you ca|
|00003570| 6e 2c 20 66 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |n, for e|xample, |
|00003580| 70 6c 61 79 20 74 68 65 | 20 6d 6f 76 69 65 20 62 |play the| movie b|
|00003590| 61 63 6b 77 61 72 64 73 | 2e 20 46 75 72 74 68 65 |ackwards|. Furthe|
|000035a0| 72 6d 6f 72 65 2c 20 69 | 66 20 79 6f 75 20 68 6f |rmore, i|f you ho|
|000035b0| 6c 64 20 74 68 65 20 6d | 6f 75 73 65 20 64 6f 77 |ld the m|ouse dow|
|000035c0| 6e 20 79 6f 75 d5 6c 6c | 20 67 65 74 20 61 20 73 |n you.ll| get a s|
|000035d0| 6c 69 64 65 72 20 63 6f | 6e 74 72 6f 6c 20 74 68 |lider co|ntrol th|
|000035e0| 61 74 20 64 6f 65 73 20 | 6c 65 74 20 79 6f 75 20 |at does |let you |
|000035f0| 70 6c 61 79 20 74 68 65 | 20 6d 6f 76 69 65 20 61 |play the| movie a|
|00003600| 74 20 64 69 66 66 65 72 | 65 6e 74 20 72 61 74 65 |t differ|ent rate|
|00003610| 73 20 62 61 63 6b 77 61 | 72 64 20 6f 72 20 66 6f |s backwa|rd or fo|
|00003620| 72 77 61 72 64 2e 0d 54 | 68 65 20 73 6c 69 64 65 |rward..T|he slide|
|00003630| 72 20 70 72 6f 76 69 64 | 65 64 20 62 79 20 74 68 |r provid|ed by th|
|00003640| 65 20 73 74 61 6e 64 61 | 72 64 20 63 6f 6e 74 72 |e standa|rd contr|
|00003650| 6f 6c 6c 65 72 20 69 73 | 20 6e 6f 74 20 69 6e 74 |oller is| not int|
|00003660| 65 6e 64 65 64 20 74 6f | 20 73 65 74 20 74 68 65 |ended to| set the|
|00003670| 20 72 61 74 65 2c 20 73 | 6f 20 69 66 20 79 6f 75 | rate, s|o if you|
|00003680| 20 70 6c 61 79 20 6f 6e | 63 65 20 61 74 20 6c 6f | play on|ce at lo|
|00003690| 77 20 73 70 65 65 64 20 | 74 68 65 20 72 61 74 65 |w speed |the rate|
|000036a0| 20 64 6f 65 73 20 6e 6f | 74 20 73 74 69 63 6b 20 | does no|t stick |
|000036b0| 61 6e 64 2c 20 61 73 20 | 79 6f 75 20 68 61 76 65 |and, as |you have|
|000036c0| 20 66 6f 75 6e 64 2c 20 | 74 68 65 20 6e 65 78 74 | found, |the next|
|000036d0| 20 74 69 6d 65 20 79 6f | 75 20 63 6c 69 63 6b 20 | time yo|u click |
|000036e0| 6f 6e 20 74 68 65 20 70 | 6c 61 79 20 62 75 74 74 |on the p|lay butt|
|000036f0| 6f 6e 20 79 6f 75 20 67 | 6f 20 62 61 63 6b 20 74 |on you g|o back t|
|00003700| 6f 20 74 68 65 20 6e 6f | 72 6d 61 6c 20 73 70 65 |o the no|rmal spe|
|00003710| 65 64 2e 20 49 66 20 79 | 6f 75 20 6e 65 65 64 20 |ed. If y|ou need |
|00003720| 74 68 65 20 73 65 6c 65 | 63 74 65 64 20 72 61 74 |the sele|cted rat|
|00003730| 65 20 74 6f 20 72 65 6d | 61 69 6e 20 66 6f 72 20 |e to rem|ain for |
|00003740| 74 68 65 20 73 65 73 73 | 69 6f 6e 2c 20 79 6f 75 |the sess|ion, you|
|00003750| d5 6c 6c 20 68 61 76 65 | 20 74 6f 20 70 72 6f 76 |.ll have| to prov|
|00003760| 69 64 65 20 79 6f 75 72 | 20 6f 77 6e 20 6d 65 74 |ide your| own met|
|00003770| 68 6f 64 20 6f 66 20 73 | 65 6c 65 63 74 69 6f 6e |hod of s|election|
|00003780| 2e 0d 4f 6e 63 65 20 79 | 6f 75 20 6b 6e 6f 77 20 |..Once y|ou know |
|00003790| 79 6f 75 72 20 64 65 73 | 69 72 65 64 20 73 70 65 |your des|ired spe|
|000037a0| 65 64 2c 20 79 6f 75 d5 | 6c 6c 20 6e 65 65 64 20 |ed, you.|ll need |
|000037b0| 74 6f 20 70 72 6f 76 69 | 64 65 20 79 6f 75 72 20 |to provi|de your |
|000037c0| 6f 77 6e 20 66 69 6c 74 | 65 72 20 70 72 6f 63 65 |own filt|er proce|
|000037d0| 64 75 72 65 20 61 6e 64 | 20 69 6e 73 74 61 6c 6c |dure and| install|
|000037e0| 20 69 74 20 63 61 6c 6c | 69 6e 67 20 4d 43 53 65 | it call|ing MCSe|
|000037f0| 74 41 63 74 69 6f 6e 46 | 69 6c 74 65 72 2e 20 55 |tActionF|ilter. U|
|00003800| 70 6f 6e 20 72 65 63 65 | 69 76 69 6e 67 20 61 6e |pon rece|iving an|
|00003810| 79 20 6d 63 41 63 74 69 | 6f 6e 50 6c 61 79 20 61 |y mcActi|onPlay a|
|00003820| 63 74 69 6f 6e 73 20 66 | 6f 72 20 72 61 74 65 20 |ctions f|or rate |
|00003830| 63 68 61 6e 67 65 73 2c | 20 79 6f 75 d5 6c 6c 20 |changes,| you.ll |
|00003840| 6e 65 65 64 20 74 6f 20 | 63 61 6c 6c 20 53 65 74 |need to |call Set|
|00003850| 4d 6f 76 69 65 52 61 74 | 65 20 74 6f 20 73 65 74 |MovieRat|e to set|
|00003860| 20 74 68 65 20 6d 6f 76 | 69 65 20 69 6e 20 6d 6f | the mov|ie in mo|
|00003870| 74 69 6f 6e 20 61 74 20 | 74 68 65 20 64 65 73 69 |tion at |the desi|
|00003880| 72 65 64 20 72 61 74 65 | 20 28 61 6e 64 20 72 65 |red rate| (and re|
|00003890| 74 75 72 6e 20 74 72 75 | 65 29 2e 20 55 73 69 6e |turn tru|e). Usin|
|000038a0| 67 20 61 20 66 69 6c 74 | 65 72 20 70 72 6f 63 20 |g a filt|er proc |
|000038b0| 69 73 20 74 68 65 20 6c | 65 67 61 6c 20 77 61 79 |is the l|egal way|
|000038c0| 20 6f 66 20 64 6f 69 6e | 67 20 74 68 69 73 20 62 | of doin|g this b|
|000038d0| 65 63 61 75 73 65 20 74 | 68 65 20 63 6f 6e 74 72 |ecause t|he contr|
|000038e0| 6f 6c 6c 65 72 20 63 61 | 6e 20 6b 65 65 70 20 69 |oller ca|n keep i|
|000038f0| 6e 20 73 79 6e 63 20 77 | 69 74 68 20 74 68 65 20 |n sync w|ith the |
|00003900| 61 63 74 69 6f 6e 73 20 | 72 65 67 61 72 64 6c 65 |actions |regardle|
|00003910| 73 73 20 6f 66 20 74 68 | 65 20 66 61 63 74 20 74 |ss of th|e fact t|
|00003920| 68 61 74 20 69 74 d5 73 | 20 79 6f 75 72 20 63 6f |hat it.s| your co|
|00003930| 64 65 20 74 68 61 74 20 | 61 63 74 75 61 6c 6c 79 |de that |actually|
|00003940| 20 61 66 66 65 63 74 73 | 20 74 68 65 20 61 63 74 | affects| the act|
|00003950| 69 6f 6e 2e 0d 4e 6f 74 | 65 20 74 68 61 74 20 79 |ion..Not|e that y|
|00003960| 6f 75 20 77 69 6c 6c 20 | 68 61 76 65 20 74 6f 20 |ou will |have to |
|00003970| 64 6f 20 73 6f 6d 65 20 | 65 78 74 72 61 20 77 6f |do some |extra wo|
|00003980| 72 6b 20 74 6f 20 6d 69 | 6d 69 63 20 74 68 65 20 |rk to mi|mic the |
|00003990| 6e 6f 72 6d 61 6c 20 62 | 65 68 61 76 69 6f 72 20 |normal b|ehavior |
|000039a0| 6f 66 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |of the s|tandard |
|000039b0| 63 6f 6e 74 72 6f 6c 6c | 65 72 2e 20 46 6f 72 20 |controll|er. For |
|000039c0| 65 78 61 6d 70 6c 65 2c | 20 77 68 65 6e 20 79 6f |example,| when yo|
|000039d0| 75 d5 72 65 20 61 74 20 | 74 68 65 20 65 6e 64 20 |u.re at |the end |
|000039e0| 6f 66 20 74 68 65 20 6d | 6f 76 69 65 20 61 6e 64 |of the m|ovie and|
|000039f0| 20 74 68 65 20 75 73 65 | 72 20 68 69 74 73 20 74 | the use|r hits t|
|00003a00| 68 65 20 70 6c 61 79 20 | 62 75 74 74 6f 6e 2c 20 |he play |button, |
|00003a10| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 6c 65 72 20 67 |the cont|roller g|
|00003a20| 6f 65 73 20 62 61 63 6b | 20 74 6f 20 74 68 65 20 |oes back| to the |
|00003a30| 62 65 67 69 6e 6e 69 6e | 67 20 61 6e 64 20 70 6c |beginnin|g and pl|
|00003a40| 61 79 73 20 74 68 65 20 | 6d 6f 76 69 65 2e 20 59 |ays the |movie. Y|
|00003a50| 6f 75 72 20 0d 51 75 69 | 63 6b 54 69 6d 65 20 74 |our .Qui|ckTime t|
|00003a60| 72 61 63 6b 20 61 6e 64 | 20 6d 6f 76 69 65 20 73 |rack and| movie s|
|00003a70| 6f 75 6e 64 20 76 6f 6c | 75 6d 65 0d 57 72 69 74 |ound vol|ume.Writ|
|00003a80| 74 65 6e 3a 09 0d 4c 61 | 73 74 20 72 65 76 69 65 |ten:..La|st revie|
|00003a90| 77 65 64 3a 09 0d 57 68 | 61 74 20 64 6f 20 74 68 |wed:..Wh|at do th|
|00003aa0| 65 20 76 61 6c 75 65 73 | 20 6f 66 20 61 20 6d 6f |e values| of a mo|
|00003ab0| 76 69 65 d5 73 20 6f 72 | 20 74 72 61 63 6b d5 73 |vie.s or| track.s|
|00003ac0| 20 76 6f 6c 75 6d 65 20 | 72 65 70 72 65 73 65 6e | volume |represen|
|00003ad0| 74 3f 20 49 73 20 74 68 | 65 72 65 20 6e 6f 20 77 |t? Is th|ere no w|
|00003ae0| 61 79 20 74 6f 20 6d 61 | 6b 65 20 61 20 74 72 61 |ay to ma|ke a tra|
|00003af0| 63 6b 20 6c 6f 75 64 65 | 72 3f 0d 5f 5f 0d 48 65 |ck loude|r?.__.He|
|00003b00| 72 65 d5 73 20 74 68 65 | 20 73 63 6f 6f 70 3a 0d |re.s the| scoop:.|
|00003b10| 54 68 65 20 76 6f 6c 75 | 6d 65 20 69 73 20 64 65 |The volu|me is de|
|00003b20| 73 63 72 69 62 65 64 20 | 61 73 20 61 20 73 6d 61 |scribed |as a sma|
|00003b30| 6c 6c 20 66 72 61 63 74 | 20 38 3a 38 20 61 6e 64 |ll fract| 8:8 and|
|00003b40| 20 69 74 73 20 76 61 6c | 75 65 73 20 67 6f 20 66 | its val|ues go f|
|00003b50| 72 6f 6d 20 2d 31 20 74 | 6f 20 31 20 77 69 74 68 |rom -1 t|o 1 with|
|00003b60| 20 6e 65 67 61 74 69 76 | 65 20 76 61 6c 75 65 73 | negativ|e values|
|00003b70| 20 61 73 20 70 6c 61 63 | 65 68 6f 6c 64 65 72 73 | as plac|eholders|
|00003b80| 2e 20 54 68 65 20 6d 61 | 78 69 6d 75 6d 20 76 6f |. The ma|ximum vo|
|00003b90| 6c 75 6d 65 20 79 6f 75 | 20 63 61 6e 20 67 65 74 |lume you| can get|
|00003ba0| 20 69 73 20 30 78 30 31 | 30 30 20 77 69 74 68 20 | is 0x01|00 with |
|00003bb0| 74 68 65 20 6d 69 6e 69 | 6d 75 6d 20 62 65 69 6e |the mini|mum bein|
|00003bc0| 67 20 30 20 28 6f 72 20 | 61 6e 79 20 6e 65 67 61 |g 0 (or |any nega|
|00003bd0| 74 69 76 65 20 76 61 6c | 75 65 29 2e 20 54 68 65 |tive val|ue). The|
|00003be0| 20 61 64 76 61 6e 74 61 | 67 65 20 6f 66 20 75 73 | advanta|ge of us|
|00003bf0| 69 6e 67 20 6e 65 67 61 | 74 69 76 65 20 76 6f 6c |ing nega|tive vol|
|00003c00| 75 6d 65 73 20 69 73 20 | 74 68 61 74 20 79 6f 75 |umes is |that you|
|00003c10| 20 63 61 6e 20 74 75 72 | 6e 20 6f 66 66 20 73 6f | can tur|n off so|
|00003c20| 75 6e 64 20 77 68 69 6c | 65 20 6d 61 69 6e 74 61 |und whil|e mainta|
|00003c30| 69 6e 69 6e 67 20 74 68 | 65 20 6c 65 76 65 6c 20 |ining th|e level |
|00003c40| 6f 66 20 76 6f 6c 75 6d | 65 2e 20 46 6f 72 20 65 |of volum|e. For e|
|00003c50| 78 61 6d 70 6c 65 2c 20 | 2d 31 20 61 6e 64 20 30 |xample, |-1 and 0|
|00003c60| 20 62 6f 74 68 20 65 71 | 75 61 74 65 20 74 6f 20 | both eq|uate to |
|00003c70| 6e 6f 20 76 6f 6c 75 6d | 65 2c 20 62 75 74 20 74 |no volum|e, but t|
|00003c80| 68 65 20 2d 31 20 69 6d | 70 6c 69 65 73 20 74 68 |he -1 im|plies th|
|00003c90| 61 74 20 31 20 73 68 6f | 75 6c 64 20 62 65 20 74 |at 1 sho|uld be t|
|00003ca0| 68 65 20 76 6f 6c 75 6d | 65 20 77 68 65 6e 20 73 |he volum|e when s|
|00003cb0| 6f 75 6e 64 20 69 73 20 | 74 75 72 6e 65 64 20 62 |ound is |turned b|
|00003cc0| 61 63 6b 20 6f 6e 2c 20 | 77 68 65 72 65 61 73 20 |ack on, |whereas |
|00003cd0| 74 68 65 20 30 20 64 6f | 65 73 20 6e 6f 74 2e 0d |the 0 do|es not..|
|00003ce0| 54 68 65 20 76 6f 6c 75 | 6d 65 20 66 6f 72 20 61 |The volu|me for a|
|00003cf0| 20 74 72 61 63 6b 20 69 | 73 20 73 63 61 6c 65 64 | track i|s scaled|
|00003d00| 20 74 6f 20 74 68 65 20 | 6d 6f 76 69 65 d5 73 20 | to the |movie.s |
|00003d10| 76 6f 6c 75 6d 65 2c 20 | 61 6e 64 20 74 68 65 20 |volume, |and the |
|00003d20| 6d 6f 76 69 65 d5 73 20 | 76 6f 6c 75 6d 65 20 69 |movie.s |volume i|
|00003d30| 73 20 73 63 61 6c 65 64 | 20 74 6f 20 74 68 65 20 |s scaled| to the |
|00003d40| 76 61 6c 75 65 20 74 68 | 65 20 75 73 65 72 20 73 |value th|e user s|
|00003d50| 70 65 63 69 66 69 65 73 | 20 66 6f 72 20 74 68 65 |pecifies| for the|
|00003d60| 20 73 70 65 61 6b 65 72 | 20 76 6f 6c 75 6d 65 20 | speaker| volume |
|00003d70| 75 73 69 6e 67 20 74 68 | 65 20 53 6f 75 6e 64 20 |using th|e Sound |
|00003d80| 63 6f 6e 74 72 6f 6c 20 | 70 61 6e 65 6c 2e 20 54 |control |panel. T|
|00003d90| 68 69 73 20 6d 65 61 6e | 73 20 74 68 61 74 20 74 |his mean|s that t|
|00003da0| 68 65 20 6d 6f 76 69 65 | 20 76 6f 6c 75 6d 65 20 |he movie| volume |
|00003db0| 72 65 70 72 65 73 65 6e | 74 73 20 74 68 65 20 6d |represen|ts the m|
|00003dc0| 61 78 69 6d 75 6d 20 6c | 6f 75 64 6e 65 73 73 20 |aximum l|oudness |
|00003dd0| 6f 66 20 61 6e 79 20 74 | 72 61 63 6b 20 69 6e 20 |of any t|rack in |
|00003de0| 74 68 65 20 6d 6f 76 69 | 65 2e 0d 51 75 69 63 6b |the movi|e..Quick|
|00003df0| 54 69 6d 65 20 31 2e 30 | 20 46 53 36 50 61 74 63 |Time 1.0| FS6Patc|
|00003e00| 68 20 65 6c 75 63 69 64 | 61 74 69 6f 6e 0d 57 72 |h elucid|ation.Wr|
|00003e10| 69 74 74 65 6e 3a 09 0d | 4c 61 73 74 20 72 65 76 |itten:..|Last rev|
|00003e20| 69 65 77 65 64 3a 09 0d | 54 68 65 20 46 53 36 50 |iewed:..|The FS6P|
|00003e30| 61 74 63 68 20 64 65 73 | 63 72 69 70 74 69 6f 6e |atch des|cription|
|00003e40| 20 69 6e 20 74 68 65 20 | 51 75 69 63 6b 54 69 6d | in the |QuickTim|
|00003e50| 65 20 31 2e 30 20 43 44 | 20 52 65 61 64 20 4d 65 |e 1.0 CD| Read Me|
|00003e60| 20 66 69 6c 65 20 73 61 | 79 73 2c 20 d2 54 68 65 | file sa|ys, .The|
|00003e70| 72 65 20 69 73 20 61 20 | 6b 6e 6f 77 6e 20 62 75 |re is a |known bu|
|00003e80| 67 20 77 69 74 68 20 48 | 46 53 20 6f 6e 20 53 79 |g with H|FS on Sy|
|00003e90| 73 74 65 6d 20 36 2e d3 | 20 57 68 61 74 20 73 70 |stem 6..| What sp|
|00003ea0| 65 63 69 66 69 63 61 6c | 6c 79 20 69 73 20 74 68 |ecifical|ly is th|
|00003eb0| 69 73 20 62 75 67 3f 20 | 41 63 63 6f 72 64 69 6e |is bug? |Accordin|
|00003ec0| 67 20 74 6f 20 74 68 65 | 20 52 65 61 64 20 4d 65 |g to the| Read Me|
|00003ed0| 20 66 69 6c 65 2c 20 d2 | 54 68 65 20 65 78 61 63 | file, .|The exac|
|00003ee0| 74 20 73 69 74 75 61 74 | 69 6f 6e 20 75 6e 64 65 |t situat|ion unde|
|00003ef0| 72 20 77 68 69 63 68 20 | 74 68 65 20 70 72 6f 62 |r which |the prob|
|00003f00| 6c 65 6d 20 6f 63 63 75 | 72 73 20 69 73 20 73 6f |lem occu|rs is so|
|00003f10| 6d 65 77 68 61 74 20 72 | 61 72 65 2e d3 20 57 68 |mewhat r|are.. Wh|
|00003f20| 61 74 20 69 73 20 74 68 | 65 20 65 78 61 63 74 20 |at is th|e exact |
|00003f30| 73 69 74 75 61 74 69 6f | 6e 3f 20 d2 49 66 20 74 |situatio|n? .If t|
|00003f40| 68 65 20 70 61 74 63 68 | 20 69 73 20 6e 6f 74 20 |he patch| is not |
|00003f50| 6e 65 63 65 73 73 61 72 | 79 2c 20 69 74 20 77 69 |necessar|y, it wi|
|00003f60| 6c 6c 20 6e 6f 74 20 69 | 6e 73 74 61 6c 6c 20 69 |ll not i|nstall i|
|00003f70| 74 73 65 6c 66 2e d3 20 | 57 68 61 74 20 63 72 69 |tself.. |What cri|
|00003f80| 74 65 72 69 61 20 69 73 | 20 75 73 65 64 20 74 6f |teria is| used to|
|00003f90| 20 64 65 74 65 72 6d 69 | 6e 65 20 6e 65 63 65 73 | determi|ne neces|
|00003fa0| 73 69 74 79 3f 0d 5f 5f | 5f 0d 57 68 65 6e 20 63 |sity?.__|_.When c|
|00003fb0| 6c 6f 73 69 6e 67 20 6f | 72 20 66 6c 75 73 68 69 |losing o|r flushi|
|00003fc0| 6e 67 20 61 20 66 69 6c | 65 20 74 68 61 74 20 68 |ng a fil|e that h|
|00003fd0| 61 73 20 6d 75 6c 74 69 | 70 6c 65 20 6f 70 65 6e |as multi|ple open|
|00003fe0| 20 70 61 74 68 73 20 74 | 6f 20 61 20 67 69 76 65 | paths t|o a give|
|00003ff0| 6e 20 66 6f 72 6b 2c 20 | 69 74 20 69 73 20 70 6f |n fork, |it is po|
|00004000| 73 73 69 62 6c 65 20 74 | 68 61 74 20 74 68 65 20 |ssible t|hat the |
|00004010| 62 6c 6f 63 6b 73 20 6d | 61 72 6b 65 64 20 61 73 |blocks m|arked as|
|00004020| 20 61 76 61 69 6c 61 62 | 6c 65 20 66 6f 72 20 74 | availab|le for t|
|00004030| 68 65 20 6f 74 68 65 72 | 20 70 61 74 68 73 20 63 |he other| paths c|
|00004040| 61 6e 20 61 6c 73 6f 20 | 62 65 20 61 6c 6c 6f 63 |an also |be alloc|
|00004050| 61 74 65 64 20 74 6f 20 | 74 68 65 20 6f 74 68 65 |ated to |the othe|
|00004060| 72 20 66 6f 72 6b 2e 20 | 49 66 20 74 68 69 73 20 |r fork. |If this |
|00004070| 68 61 70 70 65 6e 73 20 | 62 65 66 6f 72 65 20 74 |happens |before t|
|00004080| 68 65 20 6f 74 68 65 72 | 20 70 61 74 68 73 20 61 |he other| paths a|
|00004090| 72 65 20 63 6c 6f 73 65 | 64 2c 20 62 6c 6f 63 6b |re close|d, block|
|000040a0| 73 20 77 69 6c 6c 20 62 | 65 20 6d 61 70 70 65 64 |s will b|e mapped|
|000040b0| 20 74 6f 20 6d 6f 72 65 | 20 74 68 61 6e 20 6f 6e | to more| than on|
|000040c0| 65 20 66 6f 72 6b 2c 20 | 70 6f 74 65 6e 74 69 61 |e fork, |potentia|
|000040d0| 6c 6c 79 20 74 72 61 73 | 68 69 6e 67 20 61 74 20 |lly tras|hing at |
|000040e0| 6c 65 61 73 74 20 6f 6e | 65 20 6f 66 20 74 68 65 |least on|e of the|
|000040f0| 6d 2e 0d 54 68 65 20 63 | 6f 6e 64 69 74 69 6f 6e |m..The c|ondition|
|00004100| 20 74 68 61 74 20 63 61 | 6e 20 74 72 69 67 67 65 | that ca|n trigge|
|00004110| 72 20 74 68 69 73 20 63 | 6f 6e 64 69 74 69 6f 6e |r this c|ondition|
|00004120| 20 69 73 20 6d 75 6c 74 | 69 70 6c 65 20 77 72 69 | is mult|iple wri|
|00004130| 74 65 61 62 6c 65 20 70 | 61 74 68 73 20 74 6f 20 |teable p|aths to |
|00004140| 74 68 65 20 73 61 6d 65 | 20 66 6f 72 6b 2e 20 4f |the same| fork. O|
|00004150| 6e 63 65 20 74 68 69 73 | 20 69 73 20 73 61 74 69 |nce this| is sati|
|00004160| 73 66 69 65 64 20 79 6f | 75 20 77 6f 75 6c 64 20 |sfied yo|u would |
|00004170| 6e 65 65 64 20 74 6f 20 | 6d 61 6b 65 20 73 6f 6d |need to |make som|
|00004180| 65 20 63 68 61 6e 67 65 | 73 20 74 6f 20 74 68 65 |e change|s to the|
|00004190| 20 66 6f 72 6b 2c 20 63 | 6c 6f 73 65 20 74 68 65 | fork, c|lose the|
|000041a0| 20 70 61 74 68 2c 20 75 | 73 65 20 61 6e 79 20 6f | path, u|se any o|
|000041b0| 66 20 74 68 65 20 6f 74 | 68 65 72 20 70 61 74 68 |f the ot|her path|
|000041c0| 73 20 74 6f 20 6d 6f 64 | 69 66 79 20 74 68 65 20 |s to mod|ify the |
|000041d0| 66 6f 72 6b 2c 20 61 63 | 63 65 73 73 20 74 68 65 |fork, ac|cess the|
|000041e0| 20 6f 74 68 65 72 20 66 | 6f 72 6b 20 61 6e 64 20 | other f|ork and |
|000041f0| 6d 6f 64 69 66 79 20 64 | 61 74 61 2e 20 49 66 20 |modify d|ata. If |
|00004200| 61 6c 6c 20 74 68 65 73 | 65 20 74 68 69 6e 67 73 |all thes|e things|
|00004210| 20 68 61 70 70 65 6e 20 | 79 6f 75 20 63 6f 75 6c | happen |you coul|
|00004220| 64 20 73 65 65 20 74 68 | 65 20 64 61 6d 61 67 65 |d see th|e damage|
|00004230| 20 74 6f 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 66 | to one |of the f|
|00004240| 6f 72 6b 73 20 28 74 68 | 65 20 73 65 63 6f 6e 64 |orks (th|e second|
|00004250| 2d 74 6f 2d 6c 61 73 74 | 20 62 65 69 6e 67 20 61 |-to-last| being a|
|00004260| 63 63 65 73 73 65 64 29 | 2e 0d 54 68 65 20 63 6f |ccessed)|..The co|
|00004270| 64 65 20 74 68 61 74 20 | 6c 6f 61 64 73 20 74 68 |de that |loads th|
|00004280| 65 20 70 61 74 63 68 20 | 63 68 65 63 6b 73 20 74 |e patch |checks t|
|00004290| 68 65 20 73 79 73 74 65 | 6d 20 66 69 72 73 74 3b |he syste|m first;|
|000042a0| 20 74 68 65 20 72 61 6e | 67 65 20 77 68 65 72 65 | the ran|ge where|
|000042b0| 20 74 68 65 20 70 61 74 | 63 68 20 69 73 20 75 73 | the pat|ch is us|
|000042c0| 65 64 20 69 73 20 36 2e | 30 2e 34 20 3c 20 73 79 |ed is 6.|0.4 < sy|
|000042d0| 73 74 65 6d 20 3c 20 37 | 2e 30 2e 20 54 68 65 20 |stem < 7|.0. The |
|000042e0| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 65 20 52 |version |of the R|
|000042f0| 4f 4d 20 69 73 20 61 6c | 73 6f 20 75 73 65 64 20 |OM is al|so used |
|00004300| 74 6f 20 64 65 63 69 64 | 65 20 77 68 65 6e 20 74 |to decid|e when t|
|00004310| 6f 20 69 6e 73 74 61 6c | 6c 2e 20 49 66 20 74 68 |o instal|l. If th|
|00004320| 65 20 52 4f 4d 20 69 6e | 64 69 63 61 74 65 73 20 |e ROM in|dicates |
|00004330| 74 68 65 20 6d 61 63 68 | 69 6e 65 20 69 73 20 6c |the mach|ine is l|
|00004340| 61 74 65 72 20 74 68 61 | 6e 20 74 68 65 20 4d 61 |ater tha|n the Ma|
|00004350| 63 69 6e 74 6f 73 68 20 | 49 49 66 78 2c 20 74 68 |cintosh |IIfx, th|
|00004360| 65 6e 20 61 20 66 69 78 | 20 69 6e 20 52 4f 4d 20 |en a fix| in ROM |
|00004370| 69 73 20 61 73 73 75 6d | 65 64 2e 20 54 68 65 20 |is assum|ed. The |
|00004380| 6c 61 73 74 20 63 68 65 | 63 6b 20 69 73 20 74 6f |last che|ck is to|
|00004390| 20 73 65 65 20 69 66 20 | 74 68 65 20 63 6f 64 65 | see if |the code|
|000043a0| 20 62 65 69 6e 67 20 70 | 61 74 63 68 65 64 20 69 | being p|atched i|
|000043b0| 73 20 61 6c 72 65 61 64 | 79 20 69 6e 20 52 41 4d |s alread|y in RAM|
|000043c0| 20 28 74 68 65 20 61 73 | 73 75 6d 70 74 69 6f 6e | (the as|sumption|
|000043d0| 20 69 73 20 74 68 61 74 | 20 62 65 69 6e 67 20 69 | is that| being i|
|000043e0| 6e 20 52 41 4d 20 6d 65 | 61 6e 73 20 66 69 78 65 |n RAM me|ans fixe|
|000043f0| 64 29 2e 20 49 66 20 73 | 6f 2c 20 74 68 65 20 70 |d). If s|o, the p|
|00004400| 61 74 63 68 20 64 6f 65 | 73 6e d5 74 20 67 65 74 |atch doe|sn.t get|
|00004410| 20 75 73 65 64 2e 0d 51 | 75 69 63 6b 54 69 6d 65 | used..Q|uickTime|
|00004420| 20 61 6c 69 61 73 20 61 | 6e 64 20 46 53 53 70 65 | alias a|nd FSSpe|
|00004430| 63 20 73 79 73 74 65 6d | 20 73 65 72 76 69 63 65 |c system| service|
|00004440| 73 20 75 6e 64 65 72 20 | 53 79 73 74 65 6d 20 36 |s under |System 6|
|00004450| 0d 57 72 69 74 74 65 6e | 3a 09 0d 4c 61 73 74 20 |.Written|:..Last |
|00004460| 72 65 76 69 65 77 65 64 | 3a 09 0d 49 20 72 65 63 |reviewed|:..I rec|
|00004470| 61 6c 6c 20 72 65 61 64 | 69 6e 67 20 74 68 61 74 |all read|ing that|
|00004480| 20 51 75 69 63 6b 54 69 | 6d 65 20 69 6e 63 6c 75 | QuickTi|me inclu|
|00004490| 64 65 73 20 61 6e 20 69 | 6d 70 6c 65 6d 65 6e 74 |des an i|mplement|
|000044a0| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 41 6c 69 |ation of| the Ali|
|000044b0| 61 73 20 4d 61 6e 61 67 | 65 72 20 66 6f 72 20 53 |as Manag|er for S|
|000044c0| 79 73 74 65 6d 20 36 2c | 20 62 75 74 20 49 20 68 |ystem 6,| but I h|
|000044d0| 61 76 65 6e d5 74 20 66 | 6f 75 6e 64 20 61 6e 79 |aven.t f|ound any|
|000044e0| 20 70 72 65 63 69 73 65 | 20 64 65 73 63 72 69 70 | precise| descrip|
|000044f0| 74 69 6f 6e 20 6f 66 20 | 6a 75 73 74 20 77 68 61 |tion of |just wha|
|00004500| 74 20 69 73 20 69 6e 63 | 6c 75 64 65 64 2e 20 49 |t is inc|luded. I|
|00004510| 73 20 69 74 20 61 20 62 | 61 72 65 20 6d 69 6e 69 |s it a b|are mini|
|00004520| 6d 75 6d 20 74 6f 20 73 | 75 70 70 6f 72 74 20 51 |mum to s|upport Q|
|00004530| 75 69 63 6b 54 69 6d 65 | 3f 20 4f 72 20 69 73 20 |uickTime|? Or is |
|00004540| 74 68 65 20 66 75 6c 6c | 20 41 6c 69 61 73 20 4d |the full| Alias M|
|00004550| 61 6e 61 67 65 72 20 74 | 68 65 72 65 3f 20 41 6c |anager t|here? Al|
|00004560| 73 6f 2c 20 69 73 20 74 | 68 65 72 65 20 61 6e 79 |so, is t|here any|
|00004570| 20 77 61 79 20 49 20 63 | 61 6e 20 75 73 65 20 74 | way I c|an use t|
|00004580| 68 65 20 46 53 53 70 65 | 63 20 69 6e 74 65 72 66 |he FSSpe|c interf|
|00004590| 61 63 65 20 74 6f 20 74 | 68 65 20 46 69 6c 65 20 |ace to t|he File |
|000045a0| 4d 61 6e 61 67 65 72 2c | 20 6f 72 20 6d 75 73 74 |Manager,| or must|
|000045b0| 20 49 20 72 65 76 65 72 | 74 20 74 6f 20 74 68 65 | I rever|t to the|
|000045c0| 20 53 79 73 74 65 6d 20 | 36 20 69 6e 74 65 72 66 | System |6 interf|
|000045d0| 61 63 65 3f 0d 5f 5f 5f | 0d 48 65 72 65 20 69 73 |ace?.___|.Here is|
|000045e0| 20 73 6f 6d 65 20 69 6e | 66 6f 72 6d 61 74 69 6f | some in|formatio|
|000045f0| 6e 20 6f 6e 20 74 68 65 | 20 61 6c 69 61 73 20 61 |n on the| alias a|
|00004600| 6e 64 20 46 53 53 70 65 | 63 20 73 79 73 74 65 6d |nd FSSpe|c system|
|00004610| 20 73 65 72 76 69 63 65 | 73 20 74 68 61 74 20 51 | service|s that Q|
|00004620| 75 69 63 6b 54 69 6d 65 | 20 73 75 70 70 6c 69 65 |uickTime| supplie|
|00004630| 73 20 75 6e 64 65 72 20 | 53 79 73 74 65 6d 20 36 |s under |System 6|
|00004640| 3a 0d 31 2e 20 51 75 69 | 63 6b 54 69 6d 65 20 73 |:.1. Qui|ckTime s|
|00004650| 75 70 70 6f 72 74 20 66 | 6f 72 20 61 6c 69 61 73 |upport f|or alias|
|00004660| 65 73 20 6f 6e 20 53 79 | 73 74 65 6d 20 36 3a 0d |es on Sy|stem 6:.|
|00004670| 4d 6f 73 74 20 6f 66 20 | 74 68 65 20 41 6c 69 61 |Most of |the Alia|
|00004680| 73 20 4d 61 6e 61 67 65 | 72 20 69 73 20 61 76 61 |s Manage|r is ava|
|00004690| 69 6c 61 62 6c 65 2c 20 | 77 69 74 68 20 74 68 65 |ilable, |with the|
|000046a0| 73 65 20 66 65 77 20 65 | 78 63 65 70 74 69 6f 6e |se few e|xception|
|000046b0| 73 3a 0d a5 20 4e 65 77 | 41 6c 69 61 73 20 77 69 |s:.. New|Alias wi|
|000046c0| 6c 6c 20 61 63 63 65 70 | 74 20 61 20 d2 66 72 6f |ll accep|t a .fro|
|000046d0| 6d 46 69 6c 65 d3 20 70 | 61 72 61 6d 65 74 65 72 |mFile. p|arameter|
|000046e0| 2c 20 62 75 74 20 69 74 | 20 6e 65 76 65 72 20 63 |, but it| never c|
|000046f0| 72 65 61 74 65 73 20 61 | 20 72 65 6c 61 74 69 76 |reates a| relativ|
|00004700| 65 20 61 6c 69 61 73 2e | 0d a5 20 4e 65 77 41 6c |e alias.|.. NewAl|
|00004710| 69 61 73 4d 69 6e 69 6d | 61 6c 46 72 6f 6d 46 75 |iasMinim|alFromFu|
|00004720| 6c 6c 50 61 74 68 20 69 | 73 20 6e 6f 74 20 61 76 |llPath i|s not av|
|00004730| 61 69 6c 61 62 6c 65 2e | 0d a5 20 52 65 73 6f 6c |ailable.|.. Resol|
|00004740| 76 65 41 6c 69 61 73 20 | 77 69 6c 6c 20 61 63 63 |veAlias |will acc|
|00004750| 65 70 74 20 61 20 d2 66 | 72 6f 6d 46 69 6c 65 d3 |ept a .f|romFile.|
|00004760| 20 70 61 72 61 6d 65 74 | 65 72 2c 20 62 75 74 20 | paramet|er, but |
|00004770| 69 74 20 69 67 6e 6f 72 | 65 73 20 69 74 2e 0d a5 |it ignor|es it...|
|00004780| 20 52 65 73 6f 6c 76 65 | 41 6c 69 61 73 46 69 6c | Resolve|AliasFil|
|00004790| 65 20 69 73 20 6e 6f 74 | 20 70 72 65 73 65 6e 74 |e is not| present|
|000047a0| 2e 0d a5 20 4d 61 74 63 | 68 41 6c 69 61 73 20 6d |... Matc|hAlias m|
|000047b0| 61 79 20 62 65 20 63 61 | 6c 6c 65 64 2c 20 62 75 |ay be ca|lled, bu|
|000047c0| 74 20 74 68 65 20 6b 41 | 52 4d 53 65 61 72 63 68 |t the kA|RMSearch|
|000047d0| 4d 6f 72 65 2c 20 6b 41 | 52 4d 53 65 61 72 63 68 |More, kA|RMSearch|
|000047e0| 52 65 6c 46 69 72 73 74 | 2c 20 61 6e 64 20 6b 41 |RelFirst|, and kA|
|000047f0| 52 4d 4d 75 6c 74 56 6f | 6c 73 20 66 6c 61 67 73 |RMMultVo|ls flags|
|00004800| 20 61 72 65 20 6e 6f 74 | 20 61 76 61 69 6c 61 62 | are not| availab|
|00004810| 6c 65 2e 20 49 66 20 79 | 6f 75 20 70 61 73 73 20 |le. If y|ou pass |
|00004820| 74 68 65 6d 20 69 6e 2c | 20 74 68 65 79 20 77 69 |them in,| they wi|
|00004830| 6c 6c 20 62 65 20 69 67 | 6e 6f 72 65 64 2e 20 46 |ll be ig|nored. F|
|00004840| 75 72 74 68 65 72 6d 6f | 72 65 2c 20 69 66 20 79 |urthermo|re, if y|
|00004850| 6f 75 20 70 61 73 73 20 | 69 6e 20 61 20 6d 61 74 |ou pass |in a mat|
|00004860| 63 68 50 72 6f 63 2c 20 | 69 74 20 77 69 6c 6c 20 |chProc, |it will |
|00004870| 6e 65 76 65 72 20 62 65 | 20 63 61 6c 6c 65 64 2e |never be| called.|
|00004880| 0d a5 20 55 70 64 61 74 | 65 41 6c 69 61 73 20 77 |.. Updat|eAlias w|
|00004890| 69 6c 6c 20 61 63 63 65 | 70 74 20 61 20 d2 66 72 |ill acce|pt a .fr|
|000048a0| 6f 6d 46 69 6c 65 d3 20 | 70 61 72 61 6d 65 74 65 |omFile. |paramete|
|000048b0| 72 2c 20 62 75 74 20 69 | 67 6e 6f 72 65 73 20 69 |r, but i|gnores i|
|000048c0| 74 2e 0d a5 20 54 68 65 | 20 53 79 73 74 65 6d 20 |t... The| System |
|000048d0| 36 20 41 6c 69 61 73 20 | 4d 61 6e 61 67 65 72 20 |6 Alias |Manager |
|000048e0| 77 69 6c 6c 20 6e 6f 74 | 20 6d 6f 75 6e 74 20 6e |will not| mount n|
|000048f0| 65 74 77 6f 72 6b 20 76 | 6f 6c 75 6d 65 73 2e 0d |etwork v|olumes..|
|00004900| 53 6f 20 74 6f 20 73 75 | 6d 6d 61 72 69 7a 65 2c |So to su|mmarize,|
|00004910| 20 6f 6e 20 53 79 73 74 | 65 6d 20 36 20 74 68 65 | on Syst|em 6 the|
|00004920| 20 41 6c 69 61 73 20 4d | 61 6e 61 67 65 72 20 64 | Alias M|anager d|
|00004930| 6f 65 73 6e d5 74 20 68 | 61 6e 64 6c 65 20 72 65 |oesn.t h|andle re|
|00004940| 6c 61 74 69 76 65 20 61 | 6c 69 61 73 65 73 2c 20 |lative a|liases, |
|00004950| 6d 75 6c 74 69 70 6c 65 | 20 76 6f 6c 75 6d 65 20 |multiple| volume |
|00004960| 73 65 61 72 63 68 65 73 | 2c 20 d2 73 65 61 72 63 |searches|, .searc|
|00004970| 68 4d 6f 72 65 d3 20 73 | 65 61 72 63 68 65 73 2c |hMore. s|earches,|
|00004980| 20 61 6e 64 20 6e 65 74 | 77 6f 72 6b 20 76 6f 6c | and net|work vol|
|00004990| 75 6d 65 20 6d 6f 75 6e | 74 69 6e 67 2e 0d 4f 6e |ume moun|ting..On|
|000049a0| 20 74 68 65 20 67 6f 6f | 64 20 73 69 64 65 2c 20 | the goo|d side, |
|000049b0| 6e 65 61 72 6c 79 20 61 | 6c 6c 20 63 61 6c 6c 73 |nearly a|ll calls|
|000049c0| 20 61 72 65 20 70 72 65 | 73 65 6e 74 2e 20 41 6c | are pre|sent. Al|
|000049d0| 69 61 73 65 73 20 63 72 | 65 61 74 65 64 20 6f 6e |iases cr|eated on|
|000049e0| 20 53 79 73 74 65 6d 20 | 36 20 61 72 65 20 63 6f | System |6 are co|
|000049f0| 6d 70 61 74 69 62 6c 65 | 20 77 69 74 68 20 53 79 |mpatible| with Sy|
|00004a00| 73 74 65 6d 20 37 20 61 | 6c 69 61 73 65 73 2e 20 |stem 7 a|liases. |
|00004a10| 41 6e 64 20 41 6c 69 61 | 73 65 73 20 6d 61 64 65 |And Alia|ses made|
|00004a20| 20 6f 6e 20 53 79 73 74 | 65 6d 20 37 20 77 69 6c | on Syst|em 7 wil|
|00004a30| 6c 20 77 6f 72 6b 20 6f | 6e 20 53 79 73 74 65 6d |l work o|n System|
|00004a40| 20 36 2e 0d 55 6e 66 6f | 72 74 75 6e 61 74 65 6c | 6..Unfo|rtunatel|
|00004a50| 79 2c 20 51 75 69 63 6b | 54 69 6d 65 20 64 6f 65 |y, Quick|Time doe|
|00004a60| 73 20 6e 6f 74 20 63 75 | 72 72 65 6e 74 6c 79 20 |s not cu|rrently |
|00004a70| 69 6e 73 74 61 6c 6c 20 | 61 6e 20 41 6c 69 61 73 |install |an Alias|
|00004a80| 20 4d 61 6e 61 67 65 72 | 20 47 65 73 74 61 6c 74 | Manager| Gestalt|
|00004a90| 20 73 65 6c 65 63 74 6f | 72 20 61 73 20 69 74 20 | selecto|r as it |
|00004aa0| 69 73 20 6f 6e 6c 79 20 | 61 20 70 61 72 74 69 61 |is only |a partia|
|00004ab0| 6c 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |l implem|entation|
|00004ac0| 2e 20 59 6f 75 20 63 61 | 6e 20 63 68 65 63 6b 20 |. You ca|n check |
|00004ad0| 66 6f 72 20 74 68 65 20 | 41 6c 69 61 73 20 4d 61 |for the |Alias Ma|
|00004ae0| 6e 61 67 65 72 20 75 73 | 69 6e 67 20 47 65 73 74 |nager us|ing Gest|
|00004af0| 61 6c 74 20 61 6e 64 20 | 69 66 20 69 74 20 69 73 |alt and |if it is|
|00004b00| 20 6e 6f 74 20 70 72 65 | 73 65 6e 74 2c 20 6c 6f | not pre|sent, lo|
|00004b10| 6f 6b 20 66 6f 72 20 51 | 75 69 63 6b 54 69 6d 65 |ok for Q|uickTime|
|00004b20| 20 28 75 73 69 6e 67 20 | 47 65 73 74 61 6c 74 29 | (using |Gestalt)|
|00004b30| 20 61 6e 64 20 69 66 20 | 51 75 69 63 6b 54 69 6d | and if |QuickTim|
|00004b40| 65 20 69 73 20 70 72 65 | 73 65 6e 74 2c 20 61 73 |e is pre|sent, as|
|00004b50| 73 75 6d 65 20 79 6f 75 | 20 68 61 76 65 20 61 6e |sume you| have an|
|00004b60| 20 41 6c 69 61 73 20 4d | 61 6e 61 67 65 72 2c 20 | Alias M|anager, |
|00004b70| 73 75 62 6a 65 63 74 20 | 74 6f 20 74 68 65 20 6c |subject |to the l|
|00004b80| 69 6d 69 74 61 74 69 6f | 6e 73 20 61 62 6f 76 65 |imitatio|ns above|
|00004b90| 2e 0d 32 2e 20 46 53 70 | 20 66 69 6c 65 20 73 79 |..2. FSp| file sy|
|00004ba0| 73 74 65 6d 20 63 61 6c | 6c 73 20 61 6e 64 20 53 |stem cal|ls and S|
|00004bb0| 79 73 74 65 6d 20 36 0d | 51 75 69 63 6b 54 69 6d |ystem 6.|QuickTim|
|00004bc0| 65 20 61 6c 73 6f 20 6d | 61 6b 65 73 20 65 78 74 |e also m|akes ext|
|00004bd0| 65 6e 73 69 76 65 20 75 | 73 65 20 6f 66 20 74 68 |ensive u|se of th|
|00004be0| 65 20 46 53 53 70 65 63 | 20 64 61 74 61 20 73 74 |e FSSpec| data st|
|00004bf0| 72 75 63 74 75 72 65 20 | 69 6e 74 72 6f 64 75 63 |ructure |introduc|
|00004c00| 65 64 20 69 6e 20 74 68 | 65 20 53 79 73 74 65 6d |ed in th|e System|
|00004c10| 20 37 20 46 69 6c 65 20 | 4d 61 6e 61 67 65 72 2e | 7 File |Manager.|
|00004c20| 20 4e 65 61 72 6c 79 20 | 61 6c 6c 20 74 68 65 20 | Nearly |all the |
|00004c30| 46 53 53 70 65 63 20 63 | 61 6c 6c 73 20 61 72 65 |FSSpec c|alls are|
|00004c40| 20 61 76 61 69 6c 61 62 | 6c 65 20 6f 6e 20 53 79 | availab|le on Sy|
|00004c50| 73 74 65 6d 20 36 20 77 | 68 65 6e 20 51 75 69 63 |stem 6 w|hen Quic|
|00004c60| 6b 54 69 6d 65 20 69 73 | 20 69 6e 73 74 61 6c 6c |kTime is| install|
|00004c70| 65 64 2e 20 54 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ed. The |followin|
|00004c80| 67 20 63 61 6c 6c 73 20 | 61 72 65 20 61 76 61 69 |g calls |are avai|
|00004c90| 6c 61 62 6c 65 20 6f 6e | 20 53 79 73 74 65 6d 20 |lable on| System |
|00004ca0| 36 2c 20 61 6e 64 20 73 | 68 6f 75 6c 64 20 62 65 |6, and s|hould be|
|00004cb0| 68 61 76 65 20 61 73 20 | 64 6f 63 75 6d 65 6e 74 |have as |document|
|00004cc0| 65 64 20 66 6f 72 20 53 | 79 73 74 65 6d 20 37 3a |ed for S|ystem 7:|
|00004cd0| 0d 20 20 20 20 46 53 4d | 61 6b 65 46 53 53 70 65 |. FSM|akeFSSpe|
|00004ce0| 63 0d 20 20 20 20 46 53 | 70 4f 70 65 6e 44 46 0d |c. FS|pOpenDF.|
|00004cf0| 20 20 20 20 46 53 70 4f | 70 65 6e 52 46 0d 20 20 | FSpO|penRF. |
|00004d00| 20 20 46 53 70 43 72 65 | 61 74 65 0d 20 20 20 20 | FSpCre|ate. |
|00004d10| 46 53 70 44 69 72 43 72 | 65 61 74 65 0d 20 20 20 |FSpDirCr|eate. |
|00004d20| 20 46 53 70 44 65 6c 65 | 74 65 0d 20 20 20 20 46 | FSpDele|te. F|
|00004d30| 53 70 47 65 74 46 49 6e | 66 6f 0d 20 20 20 20 46 |SpGetFIn|fo. F|
|00004d40| 53 70 53 65 74 46 49 6e | 66 6f 0d 20 20 20 20 46 |SpSetFIn|fo. F|
|00004d50| 53 70 53 65 74 46 4c 6f | 63 6b 0d 20 20 20 20 46 |SpSetFLo|ck. F|
|00004d60| 53 70 52 73 74 46 4c 6f | 63 6b 0d 20 20 20 20 46 |SpRstFLo|ck. F|
|00004d70| 53 70 52 65 6e 61 6d 65 | 0d 20 20 20 20 46 53 70 |SpRename|. FSp|
|00004d80| 43 61 74 4d 6f 76 65 0d | 20 20 20 20 46 53 70 4f |CatMove.| FSpO|
|00004d90| 70 65 6e 52 65 73 46 69 | 6c 65 0d 20 20 20 20 46 |penResFi|le. F|
|00004da0| 53 70 43 72 65 61 74 65 | 52 65 73 46 69 6c 65 0d |SpCreate|ResFile.|
|00004db0| 20 20 20 20 46 53 70 47 | 65 74 43 61 74 49 6e 66 | FSpG|etCatInf|
|00004dc0| 6f 0d 54 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |o.The fo|llowing |
|00004dd0| 63 61 6c 6c 20 69 73 20 | 6e 6f 74 20 61 76 61 69 |call is |not avai|
|00004de0| 6c 61 62 6c 65 20 77 68 | 65 6e 20 75 73 69 6e 67 |lable wh|en using|
|00004df0| 20 74 68 65 20 51 75 69 | 63 6b 54 69 6d 65 20 53 | the Qui|ckTime S|
|00004e00| 79 73 74 65 6d 20 36 20 | 76 65 72 73 69 6f 6e 20 |ystem 6 |version |
|00004e10| 6f 66 20 74 68 65 20 46 | 53 70 20 63 61 6c 6c 73 |of the F|Sp calls|
|00004e20| 3a 0d 20 20 20 20 46 53 | 70 45 78 63 68 61 6e 67 |:. FS|pExchang|
|00004e30| 65 46 69 6c 65 73 0d 41 | 67 61 69 6e 2c 20 74 68 |eFiles.A|gain, th|
|00004e40| 65 20 47 65 73 74 61 6c | 74 20 73 65 6c 65 63 74 |e Gestal|t select|
|00004e50| 6f 72 20 66 6f 72 20 74 | 68 65 20 46 53 70 20 63 |or for t|he FSp c|
|00004e60| 61 6c 6c 73 20 69 73 20 | 6e 6f 74 20 69 6e 73 74 |alls is |not inst|
|00004e70| 61 6c 6c 65 64 20 77 68 | 65 6e 20 51 75 69 63 6b |alled wh|en Quick|
|00004e80| 54 69 6d 65 20 69 73 20 | 74 68 65 72 65 2e 20 54 |Time is |there. T|
|00004e90| 68 65 20 6d 65 61 6e 73 | 20 74 68 61 74 20 74 68 |he means| that th|
|00004ea0| 65 20 67 65 73 74 61 6c | 74 46 53 41 74 74 72 20 |e gestal|tFSAttr |
|00004eb0| 47 65 73 74 61 6c 74 20 | 73 65 6c 65 63 74 6f 72 |Gestalt |selector|
|00004ec0| 20 6d 61 79 20 6e 6f 74 | 20 62 65 20 70 72 65 73 | may not| be pres|
|00004ed0| 65 6e 74 2c 20 61 6e 64 | 20 67 65 73 74 61 6c 74 |ent, and| gestalt|
|00004ee0| 48 61 73 46 53 53 70 65 | 63 43 61 6c 6c 73 20 6d |HasFSSpe|cCalls m|
|00004ef0| 61 79 20 6e 6f 74 20 62 | 65 20 73 65 74 2c 20 65 |ay not b|e set, e|
|00004f00| 76 65 6e 20 69 66 20 67 | 65 73 74 61 6c 74 46 53 |ven if g|estaltFS|
|00004f10| 41 74 74 72 20 69 73 20 | 70 72 65 73 65 6e 74 2e |Attr is |present.|
|00004f20| 0d 27 70 6e 6f 74 27 20 | 72 65 73 6f 75 72 63 65 |.'pnot' |resource|
|00004f30| 20 66 6f 72 6d 61 74 20 | 66 6f 72 20 51 75 69 63 | format |for Quic|
|00004f40| 6b 54 69 6d 65 2d 6c 69 | 6b 65 20 70 72 65 76 69 |kTime-li|ke previ|
|00004f50| 65 77 20 69 6e 20 64 69 | 61 6c 6f 67 20 62 6f 78 |ew in di|alog box|
|00004f60| 0d 57 72 69 74 74 65 6e | 3a 09 0d 4c 61 73 74 20 |.Written|:..Last |
|00004f70| 72 65 76 69 65 77 65 64 | 3a 09 0d 49 20 77 6f 75 |reviewed|:..I wou|
|00004f80| 6c 64 20 6c 69 6b 65 20 | 74 6f 20 69 6d 70 6c 65 |ld like |to imple|
|00004f90| 6d 65 6e 74 20 74 68 65 | 20 70 72 65 76 69 65 77 |ment the| preview|
|00004fa0| 2f 74 68 75 6d 62 6e 61 | 69 6c 20 66 65 61 74 75 |/thumbna|il featu|
|00004fb0| 72 65 20 69 6e 20 74 68 | 65 20 53 74 61 6e 64 61 |re in th|e Standa|
|00004fc0| 72 64 20 46 69 6c 65 20 | 64 69 61 6c 6f 67 2c 20 |rd File |dialog, |
|00004fd0| 6a 75 73 74 20 6c 69 6b | 65 20 74 68 65 20 65 78 |just lik|e the ex|
|00004fe0| 74 65 6e 73 69 6f 6e 20 | 69 6e 63 6c 75 64 65 64 |tension |included|
|00004ff0| 20 77 69 74 68 20 51 75 | 69 63 6b 54 69 6d 65 2e | with Qu|ickTime.|
|00005000| 20 49 73 20 74 68 61 74 | 20 63 6f 64 65 20 61 76 | Is that| code av|
|00005010| 61 69 6c 61 62 6c 65 20 | 73 65 70 61 72 61 74 65 |ailable |separate|
|00005020| 20 66 72 6f 6d 20 51 75 | 69 63 6b 54 69 6d 65 3f | from Qu|ickTime?|
|00005030| 20 49 66 20 6e 6f 74 2c | 20 63 6f 75 6c 64 20 49 | If not,| could I|
|00005040| 20 61 74 20 6c 65 61 73 | 74 20 67 65 74 20 69 6e | at leas|t get in|
|00005050| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 6e 20 68 6f 77 |formatio|n on how|
|00005060| 20 74 68 65 20 70 72 65 | 76 69 65 77 20 69 73 20 | the pre|view is |
|00005070| 63 72 65 61 74 65 64 20 | 73 6f 20 74 68 61 74 20 |created |so that |
|00005080| 49 20 75 73 65 20 74 68 | 65 20 73 61 6d 65 20 74 |I use th|e same t|
|00005090| 65 63 68 6e 69 71 75 65 | 3f 0d 5f 5f 5f 0d 54 6f |echnique|?.___.To|
|000050a0| 20 69 6d 70 6c 65 6d 65 | 6e 74 20 79 6f 75 72 20 | impleme|nt your |
|000050b0| 6f 77 6e 20 70 72 65 76 | 69 65 77 2f 74 68 75 6d |own prev|iew/thum|
|000050c0| 62 6e 61 69 6c 20 66 65 | 61 74 75 72 65 2c 20 73 |bnail fe|ature, s|
|000050d0| 69 6d 70 6c 79 20 64 75 | 70 6c 69 63 61 74 65 20 |imply du|plicate |
|000050e0| 74 68 65 20 53 74 61 6e | 64 61 72 64 20 46 69 6c |the Stan|dard Fil|
|000050f0| 65 20 64 69 61 6c 6f 67 | 2c 20 61 64 64 20 74 68 |e dialog|, add th|
|00005100| 65 20 6e 65 63 65 73 73 | 61 72 79 20 27 44 49 54 |e necess|ary 'DIT|
|00005110| 4c 27 20 72 65 73 6f 75 | 72 63 65 73 2c 20 61 6e |L' resou|rces, an|
|00005120| 64 20 69 6e 73 74 61 6c | 6c 20 61 20 63 75 73 74 |d instal|l a cust|
|00005130| 6f 6d 20 66 69 6c 74 65 | 72 20 70 72 6f 63 65 64 |om filte|r proced|
|00005140| 75 72 65 20 66 6f 72 20 | 68 61 6e 64 6c 69 6e 67 |ure for |handling|
|00005150| 20 70 72 65 76 69 65 77 | 20 63 6f 6d 6d 61 6e 64 | preview| command|
|00005160| 73 2e 20 4f 6e 20 74 68 | 65 20 53 79 73 74 65 6d |s. On th|e System|
|00005170| 20 37 20 43 44 20 69 73 | 20 61 6e 20 65 78 61 6d | 7 CD is| an exam|
|00005180| 70 6c 65 2c 20 53 74 64 | 46 69 6c 65 53 61 6d 70 |ple, Std|FileSamp|
|00005190| 6c 65 2c 20 77 68 69 63 | 68 20 73 68 6f 77 73 20 |le, whic|h shows |
|000051a0| 65 78 61 63 74 6c 79 20 | 68 6f 77 20 74 6f 20 63 |exactly |how to c|
|000051b0| 72 65 61 74 65 20 61 20 | 63 75 73 74 6f 6d 20 66 |reate a |custom f|
|000051c0| 69 6c 65 20 64 69 61 6c | 6f 67 2e 20 54 68 65 20 |ile dial|og. The |
|000051d0| 4d 61 63 69 6e 74 6f 73 | 68 20 54 65 63 68 6e 69 |Macintos|h Techni|
|000051e0| 63 61 6c 20 4e 6f 74 65 | 20 d2 43 75 73 74 6f 6d |cal Note| .Custom|
|000051f0| 69 7a 69 6e 67 20 53 74 | 61 6e 64 61 72 64 20 46 |izing St|andard F|
|00005200| 69 6c 65 d3 20 64 65 73 | 63 72 69 62 65 73 20 68 |ile. des|cribes h|
|00005210| 6f 77 20 74 6f 20 64 6f | 20 74 68 69 73 20 61 73 |ow to do| this as|
|00005220| 20 77 65 6c 6c 2e 20 46 | 6f 72 20 67 65 6e 65 72 | well. F|or gener|
|00005230| 61 74 69 6e 67 20 61 6e | 64 20 64 69 73 70 6c 61 |ating an|d displa|
|00005240| 79 69 6e 67 20 74 68 65 | 20 70 72 65 76 69 65 77 |ying the| preview|
|00005250| 2c 20 79 6f 75 20 63 61 | 6e 20 75 73 65 20 74 68 |, you ca|n use th|
|00005260| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 50 72 65 76 |e follow|ing Prev|
|00005270| 69 65 77 52 65 73 6f 75 | 72 63 65 52 65 63 6f 72 |iewResou|rceRecor|
|00005280| 64 2c 20 66 6f 75 6e 64 | 20 61 74 20 74 68 65 20 |d, found| at the |
|00005290| 65 6e 64 20 6f 66 20 0d | 4d 43 53 65 74 43 6c 69 |end of .|MCSetCli|
|000052a0| 70 20 61 6e 64 20 63 6c | 69 70 70 69 6e 67 20 77 |p and cl|ipping w|
|000052b0| 69 74 68 20 74 68 65 20 | 6d 6f 76 69 65 20 63 6f |ith the |movie co|
|000052c0| 6e 74 72 6f 6c 6c 65 72 | 0d 57 72 69 74 74 65 6e |ntroller|.Written|
|000052d0| 3a 09 0d 4c 61 73 74 20 | 72 65 76 69 65 77 65 64 |:..Last |reviewed|
|000052e0| 3a 09 0d 49 20 75 73 65 | 20 53 65 74 4d 6f 76 69 |:..I use| SetMovi|
|000052f0| 65 44 69 73 70 6c 61 79 | 43 6c 69 70 52 67 6e 20 |eDisplay|ClipRgn |
|00005300| 74 6f 20 73 65 74 20 6d | 79 20 6d 6f 76 69 65 20 |to set m|y movie |
|00005310| 63 6c 69 70 2c 20 62 75 | 74 20 74 68 65 20 6d 6f |clip, bu|t the mo|
|00005320| 76 69 65 20 64 6f 65 73 | 6e d5 74 20 6f 62 65 79 |vie does|n.t obey|
|00005330| 20 6d 79 20 63 6c 69 70 | 70 69 6e 67 2e 20 44 6f | my clip|ping. Do|
|00005340| 65 73 20 74 68 65 20 6d | 6f 76 69 65 20 63 6f 6e |es the m|ovie con|
|00005350| 74 72 6f 6c 6c 65 72 20 | 63 6f 6d 70 6f 6e 65 6e |troller |componen|
|00005360| 74 20 69 67 6e 6f 72 65 | 20 74 68 69 73 20 63 6c |t ignore| this cl|
|00005370| 69 70 70 69 6e 67 3f 0d | 5f 5f 5f 0d 59 6f 75 20 |ipping?.|___.You |
|00005380| 70 72 6f 62 61 62 6c 79 | 20 61 72 65 20 64 69 72 |probably| are dir|
|00005390| 65 63 74 6c 79 20 6d 6f | 64 69 66 79 69 6e 67 20 |ectly mo|difying |
|000053a0| 61 20 6d 6f 76 69 65 20 | 74 68 61 74 20 69 73 20 |a movie |that is |
|000053b0| 61 74 74 61 63 68 65 64 | 20 74 6f 20 61 20 63 6f |attached| to a co|
|000053c0| 6e 74 72 6f 6c 6c 65 72 | 20 77 69 74 68 6f 75 74 |ntroller| without|
|000053d0| 20 6e 6f 74 69 66 79 69 | 6e 67 20 74 68 65 20 63 | notifyi|ng the c|
|000053e0| 6f 6e 74 72 6f 6c 6c 65 | 72 20 6f 66 20 74 68 65 |ontrolle|r of the|
|000053f0| 20 63 68 61 6e 67 65 73 | 2e 20 54 68 65 20 63 6f | changes|. The co|
|00005400| 6e 74 72 6f 6c 6c 65 72 | 20 75 73 65 73 20 74 68 |ntroller| uses th|
|00005410| 65 20 64 69 73 70 6c 61 | 79 20 63 6c 69 70 20 66 |e displa|y clip f|
|00005420| 6f 72 20 69 74 73 20 6f | 77 6e 20 70 75 72 70 6f |or its o|wn purpo|
|00005430| 73 65 73 2c 20 73 75 63 | 68 20 61 73 20 66 6f 72 |ses, suc|h as for|
|00005440| 20 62 61 64 67 65 73 2e | 0d 49 66 20 79 6f 75 20 | badges.|.If you |
|00005450| 77 61 6e 74 20 74 6f 20 | 64 6f 20 63 6c 69 70 70 |want to |do clipp|
|00005460| 69 6e 67 20 77 69 74 68 | 20 74 68 65 20 6d 6f 76 |ing with| the mov|
|00005470| 69 65 20 63 6f 6e 74 72 | 6f 6c 6c 65 72 20 79 6f |ie contr|oller yo|
|00005480| 75 20 6d 75 73 74 20 75 | 73 65 20 4d 43 53 65 74 |u must u|se MCSet|
|00005490| 43 6c 69 70 2e 20 4d 43 | 53 65 74 43 6c 69 70 20 |Clip. MC|SetClip |
|000054a0| 74 61 6b 65 73 20 74 77 | 6f 20 72 65 67 69 6f 6e |takes tw|o region|
|000054b0| 73 2e 20 54 68 65 20 66 | 69 72 73 74 20 63 6c 69 |s. The f|irst cli|
|000054c0| 70 73 20 62 6f 74 68 20 | 74 68 65 20 6d 6f 76 69 |ps both |the movi|
|000054d0| 65 20 61 6e 64 20 74 68 | 65 20 63 6f 6e 74 72 6f |e and th|e contro|
|000054e0| 6c 6c 65 72 2e 20 54 68 | 65 20 73 65 63 6f 6e 64 |ller. Th|e second|
|000054f0| 20 63 6c 69 70 73 20 6a | 75 73 74 20 74 68 65 20 | clips j|ust the |
|00005500| 6d 6f 76 69 65 2c 20 61 | 6e 64 20 69 73 20 65 71 |movie, a|nd is eq|
|00005510| 75 69 76 61 6c 65 6e 74 | 20 74 6f 20 74 68 65 20 |uivalent| to the |
|00005520| 6d 6f 76 69 65 20 64 69 | 73 70 6c 61 79 20 63 6c |movie di|splay cl|
|00005530| 69 70 2e 20 49 66 20 62 | 6f 74 68 20 63 6c 69 70 |ip. If b|oth clip|
|00005540| 73 20 61 72 65 20 73 65 | 74 2c 20 74 68 65 20 63 |s are se|t, the c|
|00005550| 6f 6e 74 72 6f 6c 6c 65 | 72 20 64 6f 65 73 20 74 |ontrolle|r does t|
|00005560| 68 65 20 72 69 67 68 74 | 20 74 68 69 6e 67 20 61 |he right| thing a|
|00005570| 6e 64 20 6d 65 72 67 65 | 73 20 74 68 65 6d 20 61 |nd merge|s them a|
|00005580| 73 20 61 70 70 72 6f 70 | 72 69 61 74 65 2e 20 49 |s approp|riate. I|
|00005590| 66 20 79 6f 75 20 64 6f | 6e d5 74 20 77 61 6e 74 |f you do|n.t want|
|000055a0| 20 6f 6e 65 20 6f 72 20 | 74 68 65 20 6f 74 68 65 | one or |the othe|
|000055b0| 72 20 6f 66 20 74 68 65 | 20 63 6c 69 70 73 2c 20 |r of the| clips, |
|000055c0| 73 65 74 20 74 68 65 6d | 20 74 6f 20 7a 65 72 6f |set them| to zero|
|000055d0| 2e 0d 49 6e 20 67 65 6e | 65 72 61 6c 2c 20 69 66 |..In gen|eral, if|
|000055e0| 20 79 6f 75 20 61 72 65 | 20 67 6f 69 6e 67 20 74 | you are| going t|
|000055f0| 6f 20 64 6f 20 73 6f 6d | 65 74 68 69 6e 67 20 74 |o do som|ething t|
|00005600| 6f 20 61 20 6d 6f 76 69 | 65 20 74 68 61 74 20 69 |o a movi|e that i|
|00005610| 73 20 61 74 74 61 63 68 | 65 64 20 74 6f 20 61 20 |s attach|ed to a |
|00005620| 63 6f 6e 74 72 6f 6c 6c | 65 72 20 79 6f 75 20 6d |controll|er you m|
|00005630| 75 73 74 20 65 69 74 68 | 65 72 20 64 6f 20 69 74 |ust eith|er do it|
|00005640| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 63 6f 6e | through| the con|
|00005650| 74 72 6f 6c 6c 65 72 2c | 20 75 73 69 6e 67 20 74 |troller,| using t|
|00005660| 68 65 20 61 63 74 69 6f | 6e 20 63 61 6c 6c 73 2c |he actio|n calls,|
|00005670| 20 6f 72 20 79 6f 75 20 | 6d 75 73 74 20 63 61 6c | or you |must cal|
|00005680| 6c 20 4d 43 4d 6f 76 69 | 65 43 68 61 6e 67 65 64 |l MCMovi|eChanged|
|00005690| 2e 20 4f 74 68 65 72 77 | 69 73 65 2c 20 74 68 65 |. Otherw|ise, the|
|000056a0| 20 63 6f 6e 74 72 6f 6c | 6c 65 72 20 77 6f 75 6c | control|ler woul|
|000056b0| 64 20 6e 65 65 64 20 74 | 6f 20 63 6f 6e 73 74 61 |d need t|o consta|
|000056c0| 6e 74 6c 79 20 70 6f 6c | 6c 20 74 68 65 20 6d 6f |ntly pol|l the mo|
|000056d0| 76 69 65 20 74 6f 20 73 | 65 65 20 69 66 20 69 74 |vie to s|ee if it|
|000056e0| 73 20 73 74 61 74 65 20 | 63 68 61 6e 67 65 64 2e |s state |changed.|
|000056f0| 20 43 6c 65 61 72 6c 79 | 20 74 68 69 73 20 77 6f | Clearly| this wo|
|00005700| 75 6c 64 20 62 65 20 45 | 76 69 6c 20 61 6e 64 20 |uld be E|vil and |
|00005710| 53 6c 6f 77 2e 0d 50 72 | 6f 62 6c 65 6d 20 77 69 |Slow..Pr|oblem wi|
|00005720| 74 68 20 64 69 73 61 62 | 6c 69 6e 67 20 61 20 6d |th disab|ling a m|
|00005730| 6f 76 69 65 20 76 69 64 | 65 6f 20 74 72 61 63 6b |ovie vid|eo track|
|00005740| 0d 57 72 69 74 74 65 6e | 3a 09 35 2f 32 39 2f 39 |.Written|:.5/29/9|
|00005750| 32 0d 4c 61 73 74 20 72 | 65 76 69 65 77 65 64 3a |2.Last r|eviewed:|
|00005760| 09 39 2f 31 35 2f 39 32 | 0d 57 68 65 6e 20 49 20 |.9/15/92|.When I |
|00005770| 64 69 73 61 62 6c 65 20 | 61 20 74 72 61 63 6b 20 |disable |a track |
|00005780| 69 6e 20 61 20 6d 6f 76 | 69 65 2c 20 61 6e 6f 74 |in a mov|ie, anot|
|00005790| 68 65 72 20 72 61 6e 64 | 6f 6d 20 74 72 61 63 6b |her rand|om track|
|000057a0| 20 62 65 63 6f 6d 65 73 | 20 64 69 73 61 62 6c 65 | becomes| disable|
|000057b0| 64 20 61 73 20 77 65 6c | 6c 2e 20 20 49 73 20 74 |d as wel|l. Is t|
|000057c0| 68 69 73 20 61 20 51 75 | 69 63 6b 54 69 6d 65 20 |his a Qu|ickTime |
|000057d0| 62 75 67 3f 0d 5f 5f 5f | 0d 59 65 73 2c 20 74 68 |bug?.___|.Yes, th|
|000057e0| 69 73 20 70 72 6f 62 6c | 65 6d 20 77 69 6c 6c 20 |is probl|em will |
|000057f0| 62 65 20 66 69 78 65 64 | 20 69 6e 20 74 68 65 20 |be fixed| in the |
|00005800| 6e 65 78 74 20 51 75 69 | 63 6b 54 69 6d 65 20 72 |next Qui|ckTime r|
|00005810| 65 6c 65 61 73 65 2e 20 | 20 42 75 74 2c 20 74 68 |elease. | But, th|
|00005820| 65 72 65 d5 73 20 6e 6f | 20 61 70 70 61 72 65 6e |ere.s no| apparen|
|00005830| 74 20 77 6f 72 6b 61 72 | 6f 75 6e 64 20 69 6e 20 |t workar|ound in |
|00005840| 74 68 65 20 6d 65 61 6e | 74 69 6d 65 2e 20 59 6f |the mean|time. Yo|
|00005850| 75 d5 6c 6c 20 6e 65 65 | 64 20 74 6f 20 72 65 6d |u.ll nee|d to rem|
|00005860| 6f 76 65 20 74 68 65 20 | 74 72 61 63 6b 20 73 69 |ove the |track si|
|00005870| 6e 63 65 20 64 69 73 61 | 62 6c 65 20 64 6f 65 73 |nce disa|ble does|
|00005880| 6e d5 74 20 77 6f 72 6b | 2e 0d 44 65 74 65 72 6d |n.t work|..Determ|
|00005890| 69 6e 69 6e 67 20 77 68 | 65 74 68 65 72 20 61 20 |ining wh|ether a |
|000058a0| 6d 6f 76 69 65 20 69 73 | 20 73 65 74 20 74 6f 20 |movie is| set to |
|000058b0| 6c 6f 6f 70 20 6f 72 20 | 6e 6f 74 0d 57 72 69 74 |loop or |not.Writ|
|000058c0| 74 65 6e 3a 09 38 2f 31 | 31 2f 39 32 0d 4c 61 73 |ten:.8/1|1/92.Las|
|000058d0| 74 20 72 65 76 69 65 77 | 65 64 3a 09 39 2f 31 35 |t review|ed:.9/15|
|000058e0| 2f 39 32 0d 48 6f 77 20 | 64 6f 65 73 20 53 69 6d |/92.How |does Sim|
|000058f0| 70 6c 65 20 50 6c 61 79 | 65 72 20 64 65 74 65 72 |ple Play|er deter|
|00005900| 6d 69 6e 65 20 77 68 65 | 74 68 65 72 20 61 20 6d |mine whe|ther a m|
|00005910| 6f 76 69 65 20 69 73 20 | 73 65 74 20 74 6f 20 6c |ovie is |set to l|
|00005920| 6f 6f 70 20 6f 72 20 6e | 6f 74 3f 20 4d 6f 76 69 |oop or n|ot? Movi|
|00005930| 65 20 66 69 6c 65 73 20 | 74 68 61 74 20 61 72 65 |e files |that are|
|00005940| 20 73 65 74 20 74 6f 20 | 6c 6f 6f 70 20 73 65 65 | set to |loop see|
|00005950| 6d 20 74 6f 20 68 61 76 | 65 20 61 20 73 74 72 69 |m to hav|e a stri|
|00005960| 6e 67 20 6f 66 20 27 4c | 4f 4f 50 27 20 61 74 20 |ng of 'L|OOP' at |
|00005970| 74 68 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 27 |the end |of the '|
|00005980| 6d 6f 6f 76 27 20 72 65 | 73 6f 75 72 63 65 2e 20 |moov' re|source. |
|00005990| 44 6f 65 73 20 53 69 6d | 70 6c 65 20 50 6c 61 79 |Does Sim|ple Play|
|000059a0| 65 72 20 63 68 65 63 6b | 20 27 4c 4f 4f 50 27 3f |er check| 'LOOP'?|
|000059b0| 0d 5f 5f 5f 0d 53 69 6d | 70 6c 65 20 50 6c 61 79 |.___.Sim|ple Play|
|000059c0| 65 72 20 69 64 65 6e 74 | 69 66 69 65 73 20 77 68 |er ident|ifies wh|
|000059d0| 65 74 68 65 72 20 6d 6f | 76 69 65 73 20 61 72 65 |ether mo|vies are|
|000059e0| 20 73 65 74 20 74 6f 20 | 6c 6f 6f 70 20 62 79 20 | set to |loop by |
|000059f0| 6c 6f 6f 6b 69 6e 67 20 | 77 69 74 68 69 6e 20 74 |looking |within t|
|00005a00| 68 65 20 75 73 65 72 20 | 64 61 74 61 20 61 74 6f |he user |data ato|
|00005a10| 6d 73 20 66 6f 72 20 74 | 68 65 20 27 4c 4f 4f 50 |ms for t|he 'LOOP|
|00005a20| 27 20 61 74 6f 6d 2c 20 | 61 73 20 79 6f 75 d5 76 |' atom, |as you.v|
|00005a30| 65 20 6e 6f 74 69 63 65 | 64 2e 20 49 74 d5 73 20 |e notice|d. It.s |
|00005a40| 61 20 34 2d 62 79 74 65 | 20 42 6f 6f 6c 65 61 6e |a 4-byte| Boolean|
|00005a50| 20 69 6e 20 77 68 69 63 | 68 20 61 20 76 61 6c 75 | in whic|h a valu|
|00005a60| 65 20 6f 66 20 31 20 6d | 65 61 6e 73 20 73 74 61 |e of 1 m|eans sta|
|00005a70| 6e 64 61 72 64 20 6c 6f | 6f 70 69 6e 67 20 61 6e |ndard lo|oping an|
|00005a80| 64 20 61 20 76 61 6c 75 | 65 20 6f 66 20 30 20 6d |d a valu|e of 0 m|
|00005a90| 65 61 6e 73 20 70 61 6c | 69 6e 64 72 6f 6d 65 20 |eans pal|indrome |
|00005aa0| 6c 6f 6f 70 69 6e 67 2e | 20 59 6f 75 72 20 61 70 |looping.| Your ap|
|00005ab0| 70 6c 69 63 61 74 69 6f | 6e 73 20 73 68 6f 75 6c |plicatio|ns shoul|
|00005ac0| 64 20 61 64 64 20 74 68 | 65 20 75 73 65 72 20 64 |d add th|e user d|
|00005ad0| 61 74 61 20 27 4c 4f 4f | 50 27 20 61 74 6f 6d 20 |ata 'LOO|P' atom |
|00005ae0| 74 6f 20 74 68 65 20 65 | 6e 64 20 6f 66 20 74 68 |to the e|nd of th|
|00005af0| 65 20 6d 6f 76 69 65 20 | 77 68 65 6e 20 61 20 75 |e movie |when a u|
|00005b00| 73 65 72 20 63 68 6f 6f | 73 65 73 20 74 6f 20 6c |ser choo|ses to l|
|00005b10| 6f 6f 70 2e 20 57 65 20 | 72 65 63 6f 6d 6d 65 6e |oop. We |recommen|
|00005b20| 64 20 74 68 69 73 20 6d | 65 74 68 6f 64 20 61 73 |d this m|ethod as|
|00005b30| 20 61 20 73 74 61 6e 64 | 61 72 64 20 6d 65 63 68 | a stand|ard mech|
|00005b40| 61 6e 69 73 6d 20 66 6f | 72 20 64 65 74 65 72 6d |anism fo|r determ|
|00005b50| 69 6e 69 6e 67 20 74 68 | 65 20 6c 6f 6f 70 69 6e |ining th|e loopin|
|00005b60| 67 20 73 74 61 74 75 73 | 20 6f 66 20 61 20 6d 6f |g status| of a mo|
|00005b70| 76 69 65 2e 20 49 66 20 | 74 68 65 20 27 4c 4f 4f |vie. If |the 'LOO|
|00005b80| 50 27 20 61 74 6f 6d 20 | 64 6f 65 73 6e d5 74 20 |P' atom |doesn.t |
|00005b90| 65 78 69 73 74 2c 20 74 | 68 65 72 65 d5 73 20 6e |exist, t|here.s n|
|00005ba0| 6f 20 6c 6f 6f 70 69 6e | 67 2e 20 54 68 65 20 63 |o loopin|g. The c|
|00005bb0| 61 6c 6c 73 20 79 6f 75 | 20 6e 65 65 64 20 74 6f |alls you| need to|
|00005bc0| 20 61 63 63 65 73 73 20 | 74 68 69 73 20 69 6e 66 | access |this inf|
|00005bd0| 6f 72 6d 61 74 69 6f 6e | 20 61 72 65 20 47 65 74 |ormation| are Get|
|00005be0| 4d 6f 76 69 65 55 73 65 | 72 44 61 74 61 2c 20 47 |MovieUse|rData, G|
|00005bf0| 65 74 55 73 65 72 44 61 | 74 61 2c 20 41 64 64 55 |etUserDa|ta, AddU|
|00005c00| 73 65 72 44 61 74 61 2c | 20 61 6e 64 20 52 65 6d |serData,| and Rem|
|00005c10| 6f 76 65 55 73 65 72 44 | 61 74 61 2c 20 61 73 20 |oveUserD|ata, as |
|00005c20| 64 65 66 69 6e 65 64 20 | 69 6e 20 74 68 65 20 4d |defined |in the M|
|00005c30| 6f 76 69 65 20 54 6f 6f | 6c 62 6f 78 20 63 68 61 |ovie Too|lbox cha|
|00005c40| 70 74 65 72 20 6f 66 20 | 74 68 65 20 51 75 69 63 |pter of |the Quic|
|00005c50| 6b 54 69 6d 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |kTime do|cumentat|
|00005c60| 69 6f 6e 2e 0d 44 65 74 | 65 72 6d 69 6e 69 6e 67 |ion..Det|ermining|
|00005c70| 20 51 75 69 63 6b 44 72 | 61 77 20 76 69 64 65 6f | QuickDr|aw video|
|00005c80| 20 6d 65 64 69 61 20 70 | 69 78 65 6c 20 64 65 70 | media p|ixel dep|
|00005c90| 74 68 0d 57 72 69 74 74 | 65 6e 3a 09 38 2f 31 38 |th.Writt|en:.8/18|
|00005ca0| 2f 39 32 0d 4c 61 73 74 | 20 72 65 76 69 65 77 65 |/92.Last| reviewe|
|00005cb0| 64 3a 09 31 30 2f 31 31 | 2f 39 32 0d 48 6f 77 20 |d:.10/11|/92.How |
|00005cc0| 64 6f 20 49 20 67 65 74 | 20 74 68 65 20 70 69 78 |do I get| the pix|
|00005cd0| 65 6c 20 64 65 70 74 68 | 20 6f 66 20 61 20 51 75 |el depth| of a Qu|
|00005ce0| 69 63 6b 54 69 6d 65 20 | 76 69 64 65 6f 20 6d 65 |ickTime |video me|
|00005cf0| 64 69 61 20 66 6f 72 20 | 61 20 67 69 76 65 6e 20 |dia for |a given |
|00005d00| 74 72 61 63 6b 3f 0d 5f | 5f 5f 0d 54 68 65 20 66 |track?._|__.The f|
|00005d10| 6f 6c 6c 6f 77 69 6e 67 | 20 73 61 6d 70 6c 65 20 |ollowing| sample |
|00005d20| 63 6f 64 65 20 64 6f 65 | 73 20 74 68 65 20 74 72 |code doe|s the tr|
|00005d30| 69 63 6b 3a 0d 23 69 6e | 63 6c 75 64 65 20 3c 51 |ick:.#in|clude <Q|
|00005d40| 75 69 63 6b 44 72 61 77 | 2e 68 3e 0d 23 69 6e 63 |uickDraw|.h>.#inc|
|00005d50| 6c 75 64 65 20 3c 4d 6f | 76 69 65 73 2e 68 3e 0d |lude <Mo|vies.h>.|
|00005d60| 23 69 6e 63 6c 75 64 65 | 20 3c 49 6d 61 67 65 43 |#include| <ImageC|
|00005d70| 6f 6d 70 72 65 73 73 69 | 6f 6e 2e 68 3e 0d 4d 65 |ompressi|on.h>.Me|
|00005d80| 64 69 61 20 47 65 74 46 | 69 72 73 74 56 69 64 65 |dia GetF|irstVide|
|00005d90| 6f 4d 65 64 69 61 28 4d | 6f 76 69 65 20 63 6f 6f |oMedia(M|ovie coo|
|00005da0| 6c 4d 6f 76 69 65 2c 6c | 6f 6e 67 20 2a 74 72 61 |lMovie,l|ong *tra|
|00005db0| 63 6b 49 6e 64 65 78 29 | 0d 7b 0d 20 20 54 72 61 |ckIndex)|.{. Tra|
|00005dc0| 63 6b 20 20 63 6f 6f 6c | 54 72 61 63 6b 3d 6e 69 |ck cool|Track=ni|
|00005dd0| 6c 3b 0d 20 20 4d 65 64 | 69 61 20 20 63 6f 6f 6c |l;. Med|ia cool|
|00005de0| 4d 65 64 69 61 3d 6e 69 | 6c 3b 0d 20 20 6c 6f 6e |Media=ni|l;. lon|
|00005df0| 67 20 20 6e 75 6d 54 72 | 61 63 6b 73 3b 0d 20 20 |g numTr|acks;. |
|00005e00| 4f 53 54 79 70 65 20 20 | 6d 65 64 69 61 54 79 70 |OSType |mediaTyp|
|00005e10| 65 3b 0d 20 20 6e 75 6d | 54 72 61 63 6b 73 20 3d |e;. num|Tracks =|
|00005e20| 20 47 65 74 4d 6f 76 69 | 65 54 72 61 63 6b 43 6f | GetMovi|eTrackCo|
|00005e30| 75 6e 74 28 63 6f 6f 6c | 4d 6f 76 69 65 29 3b 0d |unt(cool|Movie);.|
|00005e40| 20 20 66 6f 72 20 28 2a | 74 72 61 63 6b 49 6e 64 | for (*|trackInd|
|00005e50| 65 78 3d 31 3b 20 2a 74 | 72 61 63 6b 49 6e 64 65 |ex=1; *t|rackInde|
|00005e60| 78 20 3c 3d 20 6e 75 6d | 54 72 61 63 6b 73 3b 20 |x <= num|Tracks; |
|00005e70| 28 2a 74 72 61 63 6b 49 | 6e 64 65 78 29 2b 2b 29 |(*trackI|ndex)++)|
|00005e80| 20 7b 0d 20 20 20 20 63 | 6f 6f 6c 54 72 61 63 6b | {. c|oolTrack|
|00005e90| 20 3d 20 47 65 74 4d 6f | 76 69 65 49 6e 64 54 72 | = GetMo|vieIndTr|
|00005ea0| 61 63 6b 28 63 6f 6f 6c | 4d 6f 76 69 65 2c 2a 74 |ack(cool|Movie,*t|
|00005eb0| 72 61 63 6b 49 6e 64 65 | 78 29 3b 0d 20 20 20 20 |rackInde|x);. |
|00005ec0| 69 66 20 28 63 6f 6f 6c | 54 72 61 63 6b 29 20 63 |if (cool|Track) c|
|00005ed0| 6f 6f 6c 4d 65 64 69 61 | 20 3d 20 47 65 74 54 72 |oolMedia| = GetTr|
|00005ee0| 61 63 6b 4d 65 64 69 61 | 28 63 6f 6f 6c 54 72 61 |ackMedia|(coolTra|
|00005ef0| 63 6b 29 3b 0d 20 20 20 | 20 69 66 20 28 63 6f 6f |ck);. | if (coo|
|00005f00| 6c 4d 65 64 69 61 29 20 | 47 65 74 4d 65 64 69 61 |lMedia) |GetMedia|
|00005f10| 48 61 6e 64 6c 65 72 44 | 65 73 63 72 69 70 74 69 |HandlerD|escripti|
|00005f20| 6f 6e 28 63 6f 6f 6c 4d | 65 64 69 61 2c 26 6d 65 |on(coolM|edia,&me|
|00005f30| 64 69 61 54 79 70 65 2c | 6e 69 6c 2c 6e 69 6c 29 |diaType,|nil,nil)|
|00005f40| 3b 0d 20 20 20 20 69 66 | 20 28 6d 65 64 69 61 54 |;. if| (mediaT|
|00005f50| 79 70 65 20 3d 3d 20 56 | 69 64 65 6f 4d 65 64 69 |ype == V|ideoMedi|
|00005f60| 61 54 79 70 65 29 20 72 | 65 74 75 72 6e 20 63 6f |aType) r|eturn co|
|00005f70| 6f 6c 4d 65 64 69 61 3b | 0d 20 20 7d 0d 20 20 2a |olMedia;|. }. *|
|00005f80| 74 72 61 63 6b 49 6e 64 | 65 78 3d 30 3b 20 20 2f |trackInd|ex=0; /|
|00005f90| 2f 20 74 72 61 63 6b 49 | 6e 64 65 78 20 63 61 6e |/ trackI|ndex can|
|00005fa0| d5 74 20 62 65 20 30 0d | 20 20 72 65 74 75 72 6e |.t be 0.| return|
|00005fb0| 20 6e 69 6c 3b 20 20 20 | 20 2f 2f 20 77 65 6e 74 | nil; | // went|
|00005fc0| 20 74 68 72 6f 75 67 68 | 20 61 6c 6c 20 74 72 61 | through| all tra|
|00005fd0| 63 6b 73 20 61 6e 64 20 | 6e 6f 20 76 69 64 65 6f |cks and |no video|
|00005fe0| 0d 7d 0d 73 68 6f 72 74 | 20 47 65 74 46 69 72 73 |.}.short| GetFirs|
|00005ff0| 74 56 69 64 65 6f 54 72 | 61 63 6b 50 69 78 65 6c |tVideoTr|ackPixel|
|00006000| 44 65 70 74 68 28 4d 6f | 76 69 65 20 63 6f 6f 6c |Depth(Mo|vie cool|
|00006010| 4d 6f 76 69 65 29 0d 7b | 0d 53 61 6d 70 6c 65 44 |Movie).{|.SampleD|
|00006020| 65 73 63 72 69 70 74 69 | 6f 6e 48 61 6e 64 6c 65 |escripti|onHandle|
|00006030| 20 69 6d 61 67 65 44 65 | 73 63 48 3d 28 53 61 6d | imageDe|scH=(Sam|
|00006040| 70 6c 65 44 65 73 63 72 | 69 70 74 69 6f 6e 48 61 |pleDescr|iptionHa|
|00006050| 6e 64 6c 65 29 4e 65 77 | 48 61 6e 64 6c 65 28 73 |ndle)New|Handle(s|
|00006060| 69 7a 65 6f 66 28 48 61 | 6e 64 6c 65 29 29 3b 0d |izeof(Ha|ndle));.|
|00006070| 6c 6f 6e 67 20 20 20 20 | 20 20 20 20 20 20 20 74 |long | t|
|00006080| 72 61 63 6b 49 6e 64 65 | 78 3d 30 3b 0d 4d 65 64 |rackInde|x=0;.Med|
|00006090| 69 61 20 20 20 20 20 20 | 20 20 20 20 63 6f 6f 6c |ia | cool|
|000060a0| 4d 65 64 69 61 3d 6e 69 | 6c 3b 0d 63 6f 6f 6c 4d |Media=ni|l;.coolM|
|000060b0| 65 64 69 61 20 3d 20 47 | 65 74 46 69 72 73 74 56 |edia = G|etFirstV|
|000060c0| 69 64 65 6f 4d 65 64 69 | 61 28 63 6f 6f 6c 4d 6f |ideoMedi|a(coolMo|
|000060d0| 76 69 65 2c 26 74 72 61 | 63 6b 49 6e 64 65 78 29 |vie,&tra|ckIndex)|
|000060e0| 3b 0d 69 66 20 28 21 74 | 72 61 63 6b 49 6e 64 65 |;.if (!t|rackInde|
|000060f0| 78 20 7c 7c 20 21 63 6f | 6f 6c 4d 65 64 69 61 29 |x || !co|olMedia)|
|00006100| 20 72 65 74 75 72 6e 20 | 2d 31 3b 20 20 2f 2f 20 | return |-1; // |
|00006110| 77 65 20 6e 65 65 64 20 | 62 6f 74 68 0d 47 65 74 |we need |both.Get|
|00006120| 4d 65 64 69 61 53 61 6d | 70 6c 65 44 65 73 63 72 |MediaSam|pleDescr|
|00006130| 69 70 74 69 6f 6e 28 63 | 6f 6f 6c 4d 65 64 69 61 |iption(c|oolMedia|
|00006140| 2c 74 72 61 63 6b 49 6e | 64 65 78 2c 69 6d 61 67 |,trackIn|dex,imag|
|00006150| 65 44 65 73 63 48 29 3b | 0d 72 65 74 75 72 6e 20 |eDescH);|.return |
|00006160| 28 2a 28 49 6d 61 67 65 | 44 65 73 63 72 69 70 74 |(*(Image|Descript|
|00006170| 69 6f 6e 48 61 6e 64 6c | 65 29 69 6d 61 67 65 44 |ionHandl|e)imageD|
|00006180| 65 73 63 48 29 2d 3e 64 | 65 70 74 68 3b 0d 7d 0d |escH)->d|epth;.}.|
|00006190| 51 75 69 63 6b 54 69 6d | 65 20 31 2e 30 20 47 65 |QuickTim|e 1.0 Ge|
|000061a0| 74 4d 6f 76 69 65 50 69 | 63 74 20 67 72 61 79 73 |tMoviePi|ct grays|
|000061b0| 63 61 6c 65 20 69 6d 61 | 67 65 73 20 2d 31 35 37 |cale ima|ges -157|
|000061c0| 20 65 72 72 6f 72 0d 57 | 72 69 74 74 65 6e 3a 09 | error.W|ritten:.|
|000061d0| 38 2f 32 37 2f 39 32 0d | 4c 61 73 74 20 72 65 76 |8/27/92.|Last rev|
|000061e0| 69 65 77 65 64 3a 09 31 | 30 2f 31 31 2f 39 32 0d |iewed:.1|0/11/92.|
|000061f0| 54 72 79 69 6e 67 20 74 | 6f 20 72 65 61 64 20 61 |Trying t|o read a|
|00006200| 6e 79 20 73 69 6e 67 6c | 65 20 66 72 61 6d 65 20 |ny singl|e frame |
|00006210| 28 65 78 63 65 70 74 20 | 74 68 65 20 66 69 72 73 |(except |the firs|
|00006220| 74 29 20 66 72 6f 6d 20 | 61 20 67 72 61 79 73 63 |t) from |a graysc|
|00006230| 61 6c 65 20 28 34 2c 31 | 36 2c 20 6f 72 20 32 35 |ale (4,1|6, or 25|
|00006240| 36 20 67 72 61 79 73 29 | 2c 20 51 75 69 63 6b 54 |6 grays)|, QuickT|
|00006250| 69 6d 65 20 6d 6f 76 69 | 65 20 67 69 76 65 73 20 |ime movi|e gives |
|00006260| 61 20 2d 31 35 37 20 65 | 72 72 6f 72 20 28 69 6e |a -157 e|rror (in|
|00006270| 76 61 6c 69 64 20 70 69 | 78 65 6c 20 64 65 70 74 |valid pi|xel dept|
|00006280| 68 29 2e 20 49 20 64 6f | 20 d2 66 72 61 6d 65 68 |h). I do| .frameh|
|00006290| 61 6e 64 6c 65 20 3d 20 | 47 65 74 4d 6f 76 69 65 |andle = |GetMovie|
|000062a0| 50 69 63 74 28 64 61 6d | 6f 76 69 65 2c 64 61 75 |Pict(dam|ovie,dau|
|000062b0| 6e 69 74 6e 75 6d 29 d3 | 20 61 6e 64 20 74 65 73 |nitnum).| and tes|
|000062c0| 74 20 69 66 20 69 74 d5 | 73 20 30 2e 20 49 66 20 |t if it.|s 0. If |
|000062d0| 73 6f 2c 20 74 68 65 6e | 20 49 20 64 6f 20 d2 69 |so, then| I do .i|
|000062e0| 6f 20 3d 20 47 65 74 4d | 6f 76 69 65 73 45 72 72 |o = GetM|oviesErr|
|000062f0| 6f 72 28 29 d3 20 61 6e | 64 20 69 74 20 67 69 76 |or(). an|d it giv|
|00006300| 65 73 20 6d 65 20 74 68 | 65 20 2d 31 35 37 20 65 |es me th|e -157 e|
|00006310| 72 72 6f 72 2e 20 47 65 | 74 4d 6f 76 69 65 50 69 |rror. Ge|tMoviePi|
|00006320| 63 74 20 69 73 20 77 6f | 72 6b 69 6e 67 20 66 69 |ct is wo|rking fi|
|00006330| 6e 65 20 66 6f 72 20 61 | 6c 6c 20 63 6f 6c 6f 72 |ne for a|ll color|
|00006340| 20 61 6e 64 20 62 6c 61 | 63 6b 2f 77 68 69 74 65 | and bla|ck/white|
|00006350| 20 6d 6f 76 69 65 73 2e | 20 49 74 20 6a 75 73 74 | movies.| It just|
|00006360| 20 64 6f 65 73 6e d5 74 | 20 77 6f 72 6b 20 6f 6e | doesn.t| work on|
|00006370| 20 d2 41 6e 69 6d 61 74 | 69 6f 6e d3 20 67 72 61 | .Animat|ion. gra|
|00006380| 79 73 63 61 6c 65 20 61 | 6e 64 20 d2 56 69 64 65 |yscale a|nd .Vide|
|00006390| 6f d3 20 67 72 61 79 73 | 63 61 6c 65 20 6d 6f 76 |o. grays|cale mov|
|000063a0| 69 65 73 2e 20 49 73 20 | 74 68 69 73 20 61 20 62 |ies. Is |this a b|
|000063b0| 75 67 3f 0d 5f 5f 5f 0d | 49 74 20 69 73 20 74 72 |ug?.___.|It is tr|
|000063c0| 75 65 20 74 68 61 74 20 | 67 72 61 79 73 63 61 6c |ue that |grayscal|
|000063d0| 65 20 69 6d 61 67 65 73 | 20 77 69 6c 6c 20 63 61 |e images| will ca|
|000063e0| 75 73 65 20 61 20 2d 31 | 35 37 20 65 72 72 6f 72 |use a -1|57 error|
|000063f0| 20 77 69 74 68 20 47 65 | 74 4d 6f 76 69 65 50 69 | with Ge|tMoviePi|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.